aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/handler.rs
diff options
context:
space:
mode:
authorlukeflo2024-09-27 23:48:46 +0200
committerlukeflo2024-09-27 23:48:46 +0200
commita13f63f34272889239d1e0fcd37f9c4fb5ec983a (patch)
treee060e7cd863abef68aeaa7553394d902d0c87e74 /src/frontend/handler.rs
parent3e86e1d11fa06dedde78621c3e0503a7492ad05e (diff)
downloadbibiman-a13f63f34272889239d1e0fcd37f9c4fb5ec983a.tar.gz
bibiman-a13f63f34272889239d1e0fcd37f9c4fb5ec983a.zip
implement scroll action for info box
Diffstat (limited to 'src/frontend/handler.rs')
-rw-r--r--src/frontend/handler.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/handler.rs b/src/frontend/handler.rs
index a9b79a0..73f30ae 100644
--- a/src/frontend/handler.rs
+++ b/src/frontend/handler.rs
@@ -25,7 +25,7 @@ pub fn handle_key_events(key_event: KeyEvent, app: &mut App) -> AppResult<()> {
// Keycodes activated for every area (high priority)
match key_event.code {
// Exit application on `ESC` or `q`
- KeyCode::Esc | KeyCode::Char('q') => {
+ KeyCode::Char('Q') | KeyCode::Char('q') => {
app.quit();
}
// Exit application on `Ctrl-C`