From 58979a8db547a1083778951d6376a27930006cbc Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Fri, 10 Dec 2021 22:50:07 -0500 Subject: change passthrough to ^E+e --- src/state.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/state.rs') diff --git a/src/state.rs b/src/state.rs index bf8d0a0..5cc18f3 100644 --- a/src/state.rs +++ b/src/state.rs @@ -54,9 +54,11 @@ impl State { key: textmode::Key, ) -> Option { match key { - textmode::Key::Ctrl(b'e') => { + textmode::Key::Char('e') => { if let crate::action::Focus::History(idx) = self.focus { - self.history.handle_key(key, idx).await; + self.history + .handle_key(textmode::Key::Ctrl(b'e'), idx) + .await; } None } -- cgit v1.2.3-54-g00ecf