diff options
Diffstat (limited to 'alacritty_terminal/src/event_loop.rs')
-rw-r--r-- | alacritty_terminal/src/event_loop.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/alacritty_terminal/src/event_loop.rs b/alacritty_terminal/src/event_loop.rs index 3e762840..00f77c9f 100644 --- a/alacritty_terminal/src/event_loop.rs +++ b/alacritty_terminal/src/event_loop.rs @@ -250,8 +250,10 @@ where } } - // Queue terminal redraw - self.event_proxy.send_event(Event::Wakeup); + if processed > 0 { + // Queue terminal redraw + self.event_proxy.send_event(Event::Wakeup); + } Ok(()) } @@ -327,7 +329,6 @@ where } }, - #[cfg(unix)] token if token == self.pty.child_event_token() => { if let Some(tty::ChildEvent::Exited) = self.pty.next_child_event() { if !self.hold { |