aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/ui
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-08-22 06:28:45 +0000
committerBlaž Hrastnik2021-10-05 13:27:10 +0000
commitf99bea404f43ea0e373fd9fe54616d3282e8364b (patch)
treea716d6f0f00578e707bf49c0929227d863d14c24 /helix-term/src/ui
parent8925fdd6f3afa3532c928a5c6e1357bc15201d8a (diff)
idle timer wip
Diffstat (limited to 'helix-term/src/ui')
-rw-r--r--helix-term/src/ui/editor.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-term/src/ui/editor.rs b/helix-term/src/ui/editor.rs
index 0605e2c7..aa2d6636 100644
--- a/helix-term/src/ui/editor.rs
+++ b/helix-term/src/ui/editor.rs
@@ -901,6 +901,7 @@ impl Component for EditorView {
EventResult::Consumed(None)
}
Event::Key(key) => {
+ cxt.editor.reset_idle_timer();
let mut key = KeyEvent::from(key);
canonicalize_key(&mut key);
// clear status