Split lines after newline

This commit is contained in:
mo8it
2025-07-04 23:22:05 +02:00
parent 9fecdba101
commit 1a633e2757
4 changed files with 33 additions and 11 deletions
+5 -1
View File
@@ -104,7 +104,11 @@ fn main() -> Result<ExitCode> {
clear_terminal(&mut stdout)?;
let welcome_message = welcome_message.trim_ascii();
write!(stdout, "{welcome_message}\n\nPress ENTER to continue ")?;
write!(
stdout,
"{welcome_message}\n\n\
Press ENTER to continue "
)?;
press_enter_prompt(&mut stdout)?;
clear_terminal(&mut stdout)?;
// Flush to be able to show errors occurring before printing a newline to stdout.