Skip to content

Commit 04d1218

Browse files
authored
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.
1 parent baf8442 commit 04d1218

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ pub fn check_if_terminal() {
282282
eprintln!(
283283
"Warning: bottom is not being output to a terminal. Things might not work properly."
284284
);
285+
eprintln!("If you're stuck, press 'q' or 'Ctrl-c' to quit the program.");
285286
stderr().flush().unwrap();
286287
thread::sleep(Duration::from_secs(1));
287288
}

0 commit comments

Comments
 (0)