From 9de21c23fac3833fba2dab9adeb0cfe04cf44c53 Mon Sep 17 00:00:00 2001 From: lukeflo Date: Thu, 24 Oct 2024 18:04:47 +0200 Subject: rewrote ui.rs --- src/tui/handler.rs | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/tui/handler.rs') diff --git a/src/tui/handler.rs b/src/tui/handler.rs index 3a4d055..ae2fd4d 100644 --- a/src/tui/handler.rs +++ b/src/tui/handler.rs @@ -192,18 +192,6 @@ pub fn handle_key_events(key_event: KeyEvent, app: &mut App, tui: &mut Tui) -> R } _ => {} }, - // Keycodes for the help area (popup) - CurrentArea::HelpArea => match key_event.code { - KeyCode::Char('q') => { - app.quit(); - } - KeyCode::Esc => { - app.bibiman.toggle_area(); - app.bibiman.former_area = None; - } - _ => {} - }, - CurrentArea::InfoArea => {} } Ok(()) } -- cgit v1.2.3