From 850b23933b02b332a4ce14a8619bf0d5a1907072 Mon Sep 17 00:00:00 2001 From: Keith Simmons Date: Wed, 5 Feb 2020 09:57:46 -0800 Subject: [PATCH] fix command line cursor bug --- Cargo.lock | 2 +- src/renderer/cursor_renderer.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ee8752f..dec12d9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1094,7 +1094,7 @@ dependencies = [ [[package]] name = "neovide" -version = "0.1.0" +version = "0.4.0" dependencies = [ "anyhow 1.0.26 (registry+https://github.com/rust-lang/crates.io-index)", "async-trait 0.1.24 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/src/renderer/cursor_renderer.rs b/src/renderer/cursor_renderer.rs index 3505bef..a6730a5 100644 --- a/src/renderer/cursor_renderer.rs +++ b/src/renderer/cursor_renderer.rs @@ -229,7 +229,7 @@ impl CursorRenderer { } } - if animating { + if animating || self.command_line_delay != 0 { REDRAW_SCHEDULER.queue_next_frame(); }