diff options
| author | mo8it <mo8it@proton.me> | 2025-07-04 23:17:25 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2025-07-04 23:22:05 +0200 |
| commit | 1a633e275761604c8225839e79c139c90d59bfea (patch) | |
| tree | b6d117f09e7f9d8c4d972684c192a77d441d3748 /src/main.rs | |
| parent | 9fecdba101a60dafecd0754cb1276dacf489a539 (diff) | |
Split lines after newline
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index bce2593..29de56b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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. |
