aboutsummaryrefslogtreecommitdiff
path: root/src/display.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/display.rs')
-rw-r--r--src/display.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/display.rs b/src/display.rs
index e12d1c8f..8cf19f47 100644
--- a/src/display.rs
+++ b/src/display.rs
@@ -213,12 +213,6 @@ impl Display {
///
/// This call may block if vsync is enabled
pub fn draw(&mut self, mut terminal: MutexGuard<Term>, config: &Config, selection: &Selection) {
- // This is a hack since sometimes we get stuck waiting for events
- // in the main loop otherwise.
- //
- // TODO figure out why this is necessary
- self.window.clear_wakeup_flag();
-
// Clear dirty flag
terminal.dirty = false;