other: treat uppercase Q as quit shortcut (#2074)

This commit is contained in:
Puneet Dixit
2026-05-23 23:12:59 -04:00
committed by GitHub
parent cd225004fc
commit 799bf2193b
+1 -1
View File
@@ -57,7 +57,7 @@ pub fn handle_key_event_or_break(
if event.modifiers.is_empty() {
match event.code {
KeyCode::Char('q') if !app.is_in_any_search() => return true,
KeyCode::Char('q' | 'Q') if !app.is_in_any_search() => return true,
KeyCode::End => app.skip_to_last(),
KeyCode::Home => app.skip_to_first(),
KeyCode::Up => app.on_up_key(),