From 030968ec517c659d18b44a34517a9c2511187766 Mon Sep 17 00:00:00 2001 From: Mikayla Maki Date: Thu, 1 Jun 2023 10:56:13 -0700 Subject: [PATCH] Redraw the terminal on every wakeup (#2551) For whatever reason, the optimizations of panes and workspace have caused the terminal to notify less often then it should. This PR fixes that oversight. --- crates/terminal_view/src/terminal_view.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/terminal_view/src/terminal_view.rs b/crates/terminal_view/src/terminal_view.rs index 7f43f99ebd43727ea3284e179c70da49accfbff1..7e93e18ee09b230325df1937914a133bd4feb2bb 100644 --- a/crates/terminal_view/src/terminal_view.rs +++ b/crates/terminal_view/src/terminal_view.rs @@ -133,8 +133,8 @@ impl TerminalView { Event::Wakeup => { if !cx.is_self_focused() { this.has_new_content = true; - cx.notify(); } + cx.notify(); cx.emit(Event::Wakeup); } Event::Bell => {