goodbye message through os_input
This commit is contained in:
parent
313ec137f9
commit
68a8422457
1 changed files with 4 additions and 1 deletions
|
|
@ -1093,6 +1093,9 @@ fn start(os_input: OsInputOutput) {
|
|||
thread_handler.join().unwrap();
|
||||
}
|
||||
// cleanup();
|
||||
println!("\rBye from Mosaic!");
|
||||
let reset_style = "\u{1b}[m";
|
||||
let goodbye_message = format!("\r{}Bye from Mosaic!", reset_style);
|
||||
|
||||
os_input.get_stdout_writer().write(goodbye_message.as_bytes()).unwrap();
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue