Clear terminal before returning to main menu
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pierre HUBERT 2022-10-18 09:13:59 +02:00
parent c763a24ca9
commit 6be3eae863

View File

@ -106,6 +106,7 @@ async fn run_app<B: Backend>(terminal: &mut Terminal<B>) -> Res {
let mut username = "".to_string();
loop {
terminal.clear()?;
let choice = SelectPlayModeScreen::default().show(terminal)?;
if let ScreenResult::Ok(c) = choice {