diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-12-10 22:50:07 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-12-10 22:50:07 -0500 |
commit | 58979a8db547a1083778951d6376a27930006cbc (patch) | |
tree | 3712cde9997a2479a2aae5ad071d839d43954c27 | |
parent | 75774fa13f9dbd02838a3e0984bd4d0dfbaca9d8 (diff) | |
download | nbsh-58979a8db547a1083778951d6376a27930006cbc.tar.gz nbsh-58979a8db547a1083778951d6376a27930006cbc.zip |
change passthrough to ^E+e
-rw-r--r-- | src/state.rs | 6 |
1 files changed, 4 insertions, 2 deletions
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<crate::action::Action> { 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 } |