diff --git a/src/interactive/app/eventloop.rs b/src/interactive/app/eventloop.rs index 6cc91967..d15eabba 100644 --- a/src/interactive/app/eventloop.rs +++ b/src/interactive/app/eventloop.rs @@ -77,7 +77,7 @@ impl TerminalApp { B: Backend, R: io::Read + TermReadEventsAndRaw, { - use termion::event::Key::{Char, Ctrl, Down, Esc, PageDown, PageUp, Up}; + use termion::event::Key::{Backspace, Char, Ctrl, Down, Esc, PageDown, PageUp, Up}; use FocussedPane::*; self.draw(terminal)?; @@ -109,8 +109,8 @@ impl TerminalApp { }, FocussedPane::Main => match key { Char('O') => self.open_that(), - Char('u') => self.exit_node(), - Char('o') => self.enter_node(), + Char('u') | Backspace => self.exit_node(), + Char('o') | Char('\n') => self.enter_node(), Ctrl('u') => self.change_entry_selection(CursorDirection::PageUp), Char('k') => self.change_entry_selection(CursorDirection::Up), Char('j') => self.change_entry_selection(CursorDirection::Down), diff --git a/src/interactive/widgets/help.rs b/src/interactive/widgets/help.rs index 0afff129..66fc500c 100644 --- a/src/interactive/widgets/help.rs +++ b/src/interactive/widgets/help.rs @@ -70,8 +70,9 @@ impl ToplevelComponent for ReactHelpPane { { hotkey("j/", "move down an entry"); hotkey("k/", "move up an entry"); - hotkey("o", "descent into the selected directory"); + hotkey("o/", "descent into the selected directory"); hotkey("u", "ascent one level into the parent directory"); + hotkey("", "^"); hotkey("Ctrl + d", "move down 10 entries at once"); hotkey("", "^"); hotkey("Ctrl + u", "move up 10 entries at once");