diff options
author | Pascal Kuthe | 2023-08-21 21:24:30 +0000 |
---|---|---|
committer | GitHub | 2023-08-21 21:24:30 +0000 |
commit | e5f8d8ef049b43d20eaf27b4f143bcf808f6cb24 (patch) | |
tree | f57974910bc039bb23be842699654c62e375a782 /helix-term | |
parent | 454b61cb21de818b83f89de9e31f62fad70bb1b2 (diff) |
create separate timer for redraw requests (#8023)
* create separate timer for redraw requests
* Update helix-view/src/editor.rs
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
---------
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
Diffstat (limited to 'helix-term')
-rw-r--r-- | helix-term/src/application.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs index 3e938917..97ba0cc3 100644 --- a/helix-term/src/application.rs +++ b/helix-term/src/application.rs @@ -598,6 +598,9 @@ impl Application { self.render().await; } } + EditorEvent::Redraw => { + self.render().await; + } EditorEvent::IdleTimer => { self.editor.clear_idle_timer(); self.handle_idle_timeout().await; |