mirror of
https://github.com/ClementTsang/bottom.git
synced 2026-11-22 13:47:21 +00:00
other: treat uppercase Q as quit shortcut (#2074)
This commit is contained in:
1 parent
cd225004fc
commit
799bf2193b
1 file changed
+1
-1
+1
-1
@@ -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(),
|
||||
|
||||
Reference in new issue
Block a user