diff options
author | iximeow <me@iximeow.net> | 2017-11-01 04:31:43 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2017-11-01 04:31:43 -0700 |
commit | 96425724b0e435c33876f4dd9685aed2bbdea1fd (patch) | |
tree | dd48118f712344d5dcea278148f3c82996f74021 /src/commands/quit.rs | |
parent | c40aa2bf95131317e2a9b199afd0b34ae2d847ee (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.rs | 2 |
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); } |