début gestion des erreurs
This commit is contained in:
@@ -63,6 +63,13 @@ where
|
||||
continue;
|
||||
}
|
||||
|
||||
if let KeyCode::Enter = key.code
|
||||
&& app.error_showing
|
||||
{
|
||||
app.error = String::new();
|
||||
app.error_showing = false;
|
||||
}
|
||||
|
||||
match app.current_screen {
|
||||
CurrentScreen::Main => match key.code {
|
||||
KeyCode::Char('q') => {
|
||||
|
||||
Reference in New Issue
Block a user