summaryrefslogtreecommitdiffstats
path: root/src/state.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/state.rs')
-rw-r--r--src/state.rs6
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
}