version 1.304, 2018/08/18 16:14:03 |
version 1.305, 2018/08/19 16:45:03 |
|
|
|
|
log_debug("%s: %zu discarded", c->name, tty->discarded); |
log_debug("%s: %zu discarded", c->name, tty->discarded); |
|
|
c->flags |= CLIENT_REDRAW; |
c->flags |= CLIENT_ALLREDRAWFLAGS; |
c->discarded += tty->discarded; |
c->discarded += tty->discarded; |
|
|
if (tty->discarded < TTY_BLOCK_STOP(tty)) { |
if (tty->discarded < TTY_BLOCK_STOP(tty)) { |
|
|
{ |
{ |
if (c->session == NULL || c->tty.term == NULL) |
if (c->session == NULL || c->tty.term == NULL) |
return (0); |
return (0); |
if (c->flags & (CLIENT_REDRAW|CLIENT_SUSPENDED)) |
if (c->flags & (CLIENT_REDRAWWINDOW|CLIENT_SUSPENDED)) |
return (0); |
return (0); |
if (c->tty.flags & TTY_FREEZE) |
if (c->tty.flags & TTY_FREEZE) |
return (0); |
return (0); |