aboutsummaryrefslogtreecommitdiff
path: root/tty.c
diff options
context:
space:
mode:
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tty.c b/tty.c
index 0270af93..b221031d 100644
--- a/tty.c
+++ b/tty.c
@@ -663,7 +663,9 @@ tty_write(
c = ARRAY_ITEM(&clients, i);
if (c == NULL || c->session == NULL || c->tty.term == NULL)
continue;
- if (c->flags & (CLIENT_SUSPENDED|TTY_FREEZE))
+ if (c->flags & CLIENT_SUSPENDED)
+ continue;
+ if (c->tty.flags & TTY_FREEZE)
continue;
if (c->session->curw->window != wp->window)
continue;