Skip to content

Commit

Permalink
Update readme with animated cursor feature
Browse files Browse the repository at this point in the history
  • Loading branch information
vhakulinen committed Jul 23, 2020
1 parent 161bd97 commit 8c3f847
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)).
Expand Down
4 changes: 0 additions & 4 deletions src/ui/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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: '{}'\"",
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 8c3f847

Please sign in to comment.