Fix Shift-Tab for moving upwards in menu

imgbot
Kevin Sjöberg 4 years ago committed by Blaž Hrastnik
parent 7ef0e2cab6
commit 29962a5bd9

@ -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) // arrow up/ctrl-p/shift-tab prev completion choice (including updating the doc)
KeyEvent { KeyEvent {
code: KeyCode::Tab, code: KeyCode::BackTab,
modifiers: KeyModifiers::SHIFT, ..
} }
| KeyEvent { | KeyEvent {
code: KeyCode::Up, .. code: KeyCode::Up, ..

Loading…
Cancel
Save