1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-09-16 10:51:42 +02:00

Clear the terminal after showing the welcome message

This commit is contained in:
mo8it 2024-04-14 16:07:17 +02:00
parent 070a780d7f
commit bd10b154fe

View File

@ -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 => (),
}