summaryrefslogtreecommitdiff
path: root/helix-term/src/application.rs
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/application.rs
parent8925fdd6f3afa3532c928a5c6e1357bc15201d8a (diff)
idle timer wip
Diffstat (limited to 'helix-term/src/application.rs')
-rw-r--r--helix-term/src/application.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs
index 6206e6f2..dbd8755d 100644
--- a/helix-term/src/application.rs
+++ b/helix-term/src/application.rs
@@ -199,6 +199,11 @@ impl Application {
self.jobs.handle_callback(&mut self.editor, &mut self.compositor, callback);
self.render();
}
+ _ = &mut self.editor.idle_timer => {
+ self.editor.clear_idle_timer();
+ println!("idle!")
+ // idle timeout
+ }
}
}
}