mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-10 12:19:28 +00:00
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.
This commit is contained in:
commit
9d6b3744f7
1 changed files with 1 additions and 1 deletions
|
@ -133,8 +133,8 @@ impl TerminalView {
|
||||||
Event::Wakeup => {
|
Event::Wakeup => {
|
||||||
if !cx.is_self_focused() {
|
if !cx.is_self_focused() {
|
||||||
this.has_new_content = true;
|
this.has_new_content = true;
|
||||||
cx.notify();
|
|
||||||
}
|
}
|
||||||
|
cx.notify();
|
||||||
cx.emit(Event::Wakeup);
|
cx.emit(Event::Wakeup);
|
||||||
}
|
}
|
||||||
Event::Bell => {
|
Event::Bell => {
|
||||||
|
|
Loading…
Reference in a new issue