Fix bug where tty output of command outputing was getting written to the window aafter it was minimised.

This commit is contained in:
Michael Grant
2026-05-13 22:46:32 +01:00
parent 1ff3dafe4e
commit 1b2435fab6

View File

@@ -145,6 +145,9 @@ screen_write_set_client_cb(struct tty_ctx *ttyctx, struct client *c)
if (wp->layout_cell == NULL)
return (0);
if (wp->flags & PANE_MINIMISED)
return (0);
if (wp->flags & (PANE_REDRAW|PANE_DROP))
return (-1);
if (c->flags & CLIENT_REDRAWPANES) {