aboutsummaryrefslogtreecommitdiff
path: root/src/commands/quit.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2017-11-01 04:31:43 -0700
committeriximeow <me@iximeow.net>2017-11-01 04:31:43 -0700
commit96425724b0e435c33876f4dd9685aed2bbdea1fd (patch)
treedd48118f712344d5dcea278148f3c82996f74021 /src/commands/quit.rs
parentc40aa2bf95131317e2a9b199afd0b34ae2d847ee (diff)
move more logging to be through DisplayInfo statuses
move DisplayInfo into ... display flush output, duh
Diffstat (limited to 'src/commands/quit.rs')
-rw-r--r--src/commands/quit.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/quit.rs b/src/commands/quit.rs
index 982c48f..716c412 100644
--- a/src/commands/quit.rs
+++ b/src/commands/quit.rs
@@ -12,7 +12,7 @@ pub static QUIT: Command = Command {
};
fn quit(_line: String, tweeter: &mut tw::TwitterCache, _queryer: &mut Queryer) {
- println!("Bye bye!");
+ tweeter.display_info.status("Bye bye!".to_owned());
tweeter.store_cache();
exit(0);
}