Skip to content

Commit 44dccf7

Browse files
committed
Do not test client flags against TTY_FREEZE bit, reported by Tom Ryder.
1 parent 7a3ec77 commit 44dccf7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tty.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,9 @@ tty_write(
663663
c = ARRAY_ITEM(&clients, i);
664664
if (c == NULL || c->session == NULL || c->tty.term == NULL)
665665
continue;
666-
if (c->flags & (CLIENT_SUSPENDED|TTY_FREEZE))
666+
if (c->flags & CLIENT_SUSPENDED)
667+
continue;
668+
if (c->tty.flags & TTY_FREEZE)
667669
continue;
668670
if (c->session->curw->window != wp->window)
669671
continue;

0 commit comments

Comments
 (0)