aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src
diff options
context:
space:
mode:
authorKevin Sjöberg2021-06-08 17:56:53 +0000
committerBlaž Hrastnik2021-06-09 00:53:40 +0000
commit29962a5bd9e0c558ecd7dfa6c2eeec485e5ac890 (patch)
treebe62fb1c48a04ad69aac78e84b5e0634af6e13d8 /helix-term/src
parent7ef0e2cab6ea3b3b3a4591e0a5882a88925e56c6 (diff)
Fix Shift-Tab for moving upwards in menu
Diffstat (limited to 'helix-term/src')
-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, ..