diff --git a/rust/sea_battle_cli_player/src/main.rs b/rust/sea_battle_cli_player/src/main.rs index cc991cc..9c10284 100644 --- a/rust/sea_battle_cli_player/src/main.rs +++ b/rust/sea_battle_cli_player/src/main.rs @@ -106,6 +106,7 @@ async fn run_app(terminal: &mut Terminal) -> Res { let mut username = "".to_string(); loop { + terminal.clear()?; let choice = SelectPlayModeScreen::default().show(terminal)?; if let ScreenResult::Ok(c) = choice {