Fix Shift-Tab for moving upwards in menu

pull/195/head
Kevin Sjöberg 2021-06-08 19:56:53 +02:00 committed by Blaž Hrastnik
parent 7ef0e2cab6
commit 29962a5bd9
1 changed files with 2 additions and 2 deletions

View File

@ -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, ..