Unnamed repository; edit this file 'description' to name the repository.
Fix Shift-Tab for moving upwards in menu
Kevin Sjöberg 2021-06-09
parent 7ef0e2c · commit 29962a5
-rw-r--r--helix-term/src/ui/menu.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-term/src/ui/menu.rs b/helix-term/src/ui/menu.rs
index 7be3be9d..0a264f7c 100644
--- a/helix-term/src/ui/menu.rs
+++ b/helix-term/src/ui/menu.rs
@@ -166,8 +166,8 @@ impl<T: Item + 'static> Component for Menu<T> {
}
// arrow up/ctrl-p/shift-tab prev completion choice (including updating the doc)
KeyEvent {
- code: KeyCode::Tab,
- modifiers: KeyModifiers::SHIFT,
+ code: KeyCode::BackTab,
+ ..
}
| KeyEvent {
code: KeyCode::Up, ..