Fix Shift-Tab for moving upwards in menu
commit29962a5bd9e0c558ecd7dfa6c2eeec485e5ac890
authorKevin Sjöberg <mail@kevinsjoberg.com>
dateTue 8 Jun 2021, 19:56 (5 years ago)
parent7ef0e2c
helix-term/src/ui/menu.rs+2−2
@@ -166,8 +166,8 @@ impl<T: Item + 'static> Component for Menu<T> {
166166 }
167167 // arrow up/ctrl-p/shift-tab prev completion choice (including updating the doc)
168168 KeyEvent {
169− code: KeyCode::Tab,
170− modifiers: KeyModifiers::SHIFT,
169+ code: KeyCode::BackTab,
170+ ..
171171 }
172172 | KeyEvent {
173173 code: KeyCode::Up, ..