diff options
author | Blaž Hrastnik | 2021-07-03 03:30:13 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-07-03 03:30:13 +0000 |
commit | 83e7dd860209ac3f0ccfa40ba98f7c314fa2b186 (patch) | |
tree | b092e60e43243a57afb9c4cc38065f816984e561 /helix-term/src/application.rs | |
parent | c68fe1f2a3a40c37969c1f5d18e3134320a0c773 (diff) |
fix: Temporary fix for #402
Diffstat (limited to 'helix-term/src/application.rs')
-rw-r--r-- | helix-term/src/application.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs index 9622ad91..17ba2652 100644 --- a/helix-term/src/application.rs +++ b/helix-term/src/application.rs @@ -160,7 +160,11 @@ impl Application { } self.render(); } - Some(callback) = self.jobs.next_job() => { + Some(callback) = self.jobs.futures.next() => { + self.jobs.handle_callback(&mut self.editor, &mut self.compositor, callback); + self.render(); + } + Some(callback) = self.jobs.wait_futures.next() => { self.jobs.handle_callback(&mut self.editor, &mut self.compositor, callback); self.render(); } |