Skip to content

Commit

Permalink
Do not test client flags against TTY_FREEZE bit, reported by Tom Ryder.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicm committed Sep 29, 2012
1 parent 7a3ec77 commit 44dccf7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tty.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 44dccf7

Please sign in to comment.