diff options
| author | mo8it <mo8it@proton.me> | 2024-04-14 16:07:17 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-04-14 16:07:17 +0200 |
| commit | bd10b154fe558af693e9f8f57dbb3e43f0bd0ec8 (patch) | |
| tree | 9ffbe1124c6af272664afcfd6b57af8c59d073c2 /src/main.rs | |
| parent | 070a780d7f7ca4ef03ab29898ec553933994bfab (diff) | |
Clear the terminal after showing the welcome message
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 aeb9432..6796921 100644 --- a/src/main.rs +++ b/src/main.rs @@ -92,6 +92,8 @@ fn main() -> Result<()> { stdout.flush()?; io::stdin().lock().read_until(b'\n', &mut Vec::new())?; + + stdout.execute(Clear(ClearType::All))?; } StateFileStatus::Read => (), } |
