diff options
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 2d1d545..12786d0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -121,6 +121,8 @@ fn main() -> Result<()> { stdout.flush()?; press_enter_prompt()?; clear_terminal(&mut stdout)?; + // Flush to be able to show errors occuring before printing a newline to stdout. + stdout.flush()?; } StateFileStatus::Read => (), } |
