aboutsummaryrefslogtreecommitdiff
path: root/src/app/mod.rs
diff options
context:
space:
mode:
authorcorrius <alvaro.correa@taxdown.es>2026-07-24 21:52:17 +0200
committerGitHub <noreply@github.com>2026-07-24 22:52:17 +0300
commit38d2b0780c50e4773d6948660873386261cde71d (patch)
treeb899dd7ce1dfd1a70650be0209a48132c1539a25 /src/app/mod.rs
parente9b22084e03880f43d1f1daaf5d9f45c717b77c4 (diff)
feat: filter keybind help (#1832)
* feat: filter keybind help refs #1825 * fix: recognize shifted slash in keybind help --------- Co-authored-by: Ogulcan Celik <ogulcancelik@gmail.com>
Diffstat (limited to 'src/app/mod.rs')
-rw-r--r--src/app/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/mod.rs b/src/app/mod.rs
index 30e1c949..6ca1d940 100644
--- a/src/app/mod.rs
+++ b/src/app/mod.rs
@@ -573,7 +573,7 @@ impl App {
preview: announcement.preview,
}
}),
- keybind_help: state::KeybindHelpState { scroll: 0 },
+ keybind_help: state::KeybindHelpState::default(),
navigator: state::NavigatorState::default(),
copy_mode: None,
workspace_scroll: 0,
@@ -1771,7 +1771,7 @@ impl App {
self.handle_context_menu_key_via_api(key_event);
}
Mode::KeybindHelp => {
- input::handle_keybind_help_key(&mut self.state, key_event);
+ input::handle_keybind_help_key(&mut self.state, key);
}
Mode::GlobalMenu => {
input::handle_global_menu_key(&mut self.state, key_event);