début gestion des erreurs

This commit is contained in:
thatscringebro
2026-03-27 16:01:03 -04:00
parent 366283f87e
commit 69686460b2
5 changed files with 79 additions and 28 deletions

View File

@@ -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') => {