diff options
author | Ville Hakulinen <ville.hakulinen@gmail.com> | 2020-07-23 13:54:37 +0300 |
---|---|---|
committer | Ville Hakulinen <ville.hakulinen@gmail.com> | 2020-07-23 13:54:37 +0300 |
commit | 8c3f8471ffbf658c0a867e65ec73806f6c3e2cf5 (patch) | |
tree | 5ef97e50e7c95041034343160c46c8ef33547f06 | |
parent | 161bd97706e54affa904e50e602dec4ce160bc77 (diff) |
Update readme with animated cursor feature
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | src/ui/state.rs | 4 |
2 files changed, 1 insertions, 4 deletions
@@ -48,6 +48,7 @@ $ cargo build --no-default-features * No electron (!), build on GTK. * Ligatures +* Animated cursor * Custom cursor tooltip feature to display markdown documents. Useful for implementing features like hover information or signature help (see [gnvim-lsp](https://github.com/vhakulinen/gnvim-lsp)). diff --git a/src/ui/state.rs b/src/ui/state.rs index 2374d4c..14ad151 100644 --- a/src/ui/state.rs +++ b/src/ui/state.rs @@ -104,7 +104,6 @@ impl UIState { Notify::GnvimEvent(event) => match event { Ok(event) => self.handle_gnvim_event(&event, nvim), Err(err) => { - error!("Failed to parse notify: {}", err); let nvim = nvim.clone(); let msg = format!( "echom \"Failed to parse gnvim notify: '{}'\"", @@ -138,10 +137,7 @@ impl UIState { // ...so if the grid_id is not same as the self tells us, // set the previous current grid to inactive self. let grid = self.grids.get(&self.current_grid).unwrap(); - grid.set_active(false); - //grid.tick(); // Trick the grid to invalide the cursor's rect. - self.current_grid = grid_id; // And set the new current grid to active. |