diff options
-rw-r--r-- | src/tui/views.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tui/views.rs b/src/tui/views.rs index f191830..a7d3885 100644 --- a/src/tui/views.rs +++ b/src/tui/views.rs @@ -538,6 +538,9 @@ impl<T: View> ViewWrapper for VimBindingsView<T> { _ => self.last_event = None, } match event { + Event::Char('q') => { + return EventResult::with_cb(|s| s.quit()); + } Event::Char('h') => { return self.view.on_event(Event::Key(Key::Left)); } |