Fix Shift-Tab for moving upwards in menu

pull/195/head
Kevin Sjöberg 3 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)
KeyEvent {
code: KeyCode::Tab,
modifiers: KeyModifiers::SHIFT,
code: KeyCode::BackTab,
..
}
| KeyEvent {
code: KeyCode::Up, ..

Loading…
Cancel
Save