From 1b2435fab60040af92f6ea6310319c9ff60250e2 Mon Sep 17 00:00:00 2001 From: Michael Grant Date: Wed, 13 May 2026 22:46:32 +0100 Subject: [PATCH] Fix bug where tty output of command outputing was getting written to the window aafter it was minimised. --- screen-write.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/screen-write.c b/screen-write.c index b4285814..2c7aa28c 100644 --- a/screen-write.c +++ b/screen-write.c @@ -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) {