diff options
author | Sebastian Thiel <sthiel@thoughtworks.com> | 2019-07-14 17:59:35 +0800 |
---|---|---|
committer | Sebastian Thiel <sthiel@thoughtworks.com> | 2019-07-14 17:59:35 +0800 |
commit | cb2bbdfe616b38311ebe26e78999c69a4637a5dd (patch) | |
tree | 5017ae88893b451b281b29214edde9f57a066ec6 | |
parent | 22c7eb5e34372b2883276bb7fc207df891f7df8e (diff) |
Allow for pageup/down to work in selector pane (interactive mode)
Fixes #21
-rw-r--r-- | src/interactive/app/eventloop.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interactive/app/eventloop.rs b/src/interactive/app/eventloop.rs index 38533a2..f47da29 100644 --- a/src/interactive/app/eventloop.rs +++ b/src/interactive/app/eventloop.rs @@ -112,10 +112,10 @@ impl TerminalApp { Char('d') => self.mark_entry(true), Char('u') | Char('h') | Backspace | Left => self.exit_node(), Char('o') | Char('l') | Char('\n') | Right => self.enter_node(), - Ctrl('u') => self.change_entry_selection(CursorDirection::PageUp), + Ctrl('u') | PageUp => self.change_entry_selection(CursorDirection::PageUp), Char('k') | Up => self.change_entry_selection(CursorDirection::Up), Char('j') | Down => self.change_entry_selection(CursorDirection::Down), - Ctrl('d') => self.change_entry_selection(CursorDirection::PageDown), + Ctrl('d') | PageDown => self.change_entry_selection(CursorDirection::PageDown), Char('s') => self.cycle_sorting(), Char('g') => self.display.byte_vis.cycle(), _ => {} |