mirror of
https://github.com/tmate-io/tmate.git
synced 2024-12-24 15:48:58 +01:00
Do not test client flags against TTY_FREEZE bit, reported by Tom Ryder.
This commit is contained in:
parent
7a3ec77dbd
commit
44dccf7ea2
4
tty.c
4
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;
|
||||
|
Loading…
Reference in New Issue
Block a user