summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClementTsang <cjhtsang@uwaterloo.ca>2020-09-05 16:25:35 -0400
committerClementTsang <cjhtsang@uwaterloo.ca>2020-09-05 16:25:35 -0400
commitcc87fa8e4a2693a0015290c62cd0ccdecec0815a (patch)
treecbc11cf02de23c8a9f0cca98a26d55fac16f7f9d
parent54a35d632e7d5ee8ff0129864a929899fce48e5e (diff)
fix: Fix mouse detection not working on proc after closing search
-rw-r--r--src/app.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app.rs b/src/app.rs
index 9ceb9d56..8db5f777 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -200,6 +200,7 @@ impl App {
.search_state
.is_enabled = false;
self.move_widget_selection(&WidgetDirection::Up);
+ self.is_force_redraw = true;
return;
}
}
@@ -214,6 +215,7 @@ impl App {
current_proc_state.columns.backup_prev_scroll_position;
current_proc_state.is_sort_open = false;
self.move_widget_selection(&WidgetDirection::Right);
+ self.is_force_redraw = true;
return;
}
}