From ed83c606b26affee61d8745bbc9cd9601f8a52e6 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Fri, 10 Dec 2021 23:01:59 -0500 Subject: add a key to just enter scrolling mode --- src/state.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/state.rs') diff --git a/src/state.rs b/src/state.rs index 12317f4..c31eba8 100644 --- a/src/state.rs +++ b/src/state.rs @@ -75,6 +75,11 @@ impl State { None } } + textmode::Key::Ctrl(b'e') => { + Some(crate::action::Action::UpdateFocus( + crate::action::Focus::Scrolling(self.focus_idx()), + )) + } textmode::Key::Char('j') | textmode::Key::Down => { Some(crate::action::Action::UpdateFocus( crate::action::Focus::Scrolling( -- cgit v1.2.3-54-g00ecf