make TAB switch between search field and list view

This commit is contained in:
Henrik Friedrichsen
2019-03-17 18:53:45 +01:00
parent 9920bf605f
commit c74b5786f2
2 changed files with 17 additions and 8 deletions

View File

@@ -95,7 +95,6 @@ impl<I: ListItem> View for ListView<I> {
}
fn on_event(&mut self, e: Event) -> EventResult {
trace!("{:?}", e);
match e {
Event::Key(Key::Up) => {
self.move_focus(-1);