Do not continue to send data to suspended/locked clients or there will

be a huge rush of it after they are resumed/unlocked. The main output
path was fine but status line updates and the terminal state reset code
were missed.
This commit is contained in:
Nicholas Marriott
2011-07-08 21:51:40 +00:00
parent a8e9654b65
commit d5269a2eed
2 changed files with 7 additions and 0 deletions

View File

@ -176,6 +176,10 @@ screen_redraw_screen(struct client *c, int status_only, int borders_only)
u_int i, j, type;
int status, fg, bg;
/* Suspended clients should not be updated. */
if (c->flags & CLIENT_SUSPENDED)
return;
/* Get status line, er, status. */
if (c->message_string != NULL || c->prompt_string != NULL)
status = 1;