Clear terminal before returning to main menu
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c763a24ca9
commit
6be3eae863
@ -106,6 +106,7 @@ async fn run_app<B: Backend>(terminal: &mut Terminal<B>) -> Res {
|
|||||||
let mut username = "".to_string();
|
let mut username = "".to_string();
|
||||||
|
|
||||||
loop {
|
loop {
|
||||||
|
terminal.clear()?;
|
||||||
let choice = SelectPlayModeScreen::default().show(terminal)?;
|
let choice = SelectPlayModeScreen::default().show(terminal)?;
|
||||||
|
|
||||||
if let ScreenResult::Ok(c) = choice {
|
if let ScreenResult::Ok(c) = choice {
|
||||||
|
Loading…
Reference in New Issue
Block a user