diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2022-06-29 01:15:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-29 01:15:37 -0400 |
commit | 04d1218f659389d0d6ce6bb74a6a869d0fd76084 (patch) | |
tree | 64f1f5609694275c0a315a58d42c5941988573b9 /src | |
parent | baf844244dc35dfe42f248a999a93acdedc93a02 (diff) |
feature: add note on how to exit if running in non-terminal (#761)
Addition to #760, adds an extra message so users know how to exit in this scenario.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -282,6 +282,7 @@ pub fn check_if_terminal() { eprintln!( "Warning: bottom is not being output to a terminal. Things might not work properly." ); + eprintln!("If you're stuck, press 'q' or 'Ctrl-c' to quit the program."); stderr().flush().unwrap(); thread::sleep(Duration::from_secs(1)); } |