summaryrefslogtreecommitdiffstats
path: root/src/ui/state.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/state.rs')
-rw-r--r--src/ui/state.rs4
1 files changed, 0 insertions, 4 deletions
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.