From 44dccf7ea27edb938b732f5b9eb1d59ccb9a11fd Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sat, 29 Sep 2012 06:57:56 +0000 Subject: [PATCH] Do not test client flags against TTY_FREEZE bit, reported by Tom Ryder. --- tty.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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;