aboutsummaryrefslogtreecommitdiff
path: root/src/tui/handler.rs
diff options
context:
space:
mode:
authorlukeflo2024-10-24 18:04:47 +0200
committerlukeflo2024-10-24 18:04:47 +0200
commit9de21c23fac3833fba2dab9adeb0cfe04cf44c53 (patch)
treedec013eca86878980d17b98b33063e03331b6ab9 /src/tui/handler.rs
parentc01722b7b517ea5fbee942276ca9f6442cae068b (diff)
downloadbibiman-9de21c23fac3833fba2dab9adeb0cfe04cf44c53.tar.gz
bibiman-9de21c23fac3833fba2dab9adeb0cfe04cf44c53.zip
rewrote ui.rs
Diffstat (limited to 'src/tui/handler.rs')
-rw-r--r--src/tui/handler.rs12
1 files changed, 0 insertions, 12 deletions
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(())
}