Permalink
Browse files

Do not test client flags against TTY_FREEZE bit, reported by Tom Ryder.

  • Loading branch information...
1 parent 7a3ec77 commit 44dccf7ea27edb938b732f5b9eb1d59ccb9a11fd Nicholas Marriott committed Sep 29, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 tty.c
View
@@ -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;

0 comments on commit 44dccf7

Please sign in to comment.