mirror of
https://github.com/tmate-io/tmate.git
synced 2025-01-12 08:58:12 +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);
|
c = ARRAY_ITEM(&clients, i);
|
||||||
if (c == NULL || c->session == NULL || c->tty.term == NULL)
|
if (c == NULL || c->session == NULL || c->tty.term == NULL)
|
||||||
continue;
|
continue;
|
||||||
if (c->flags & (CLIENT_SUSPENDED|TTY_FREEZE))
|
if (c->flags & CLIENT_SUSPENDED)
|
||||||
|
continue;
|
||||||
|
if (c->tty.flags & TTY_FREEZE)
|
||||||
continue;
|
continue;
|
||||||
if (c->session->curw->window != wp->window)
|
if (c->session->curw->window != wp->window)
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user