Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2017-04-19 10:01:12 +01:00
5 changed files with 76 additions and 6 deletions

View File

@ -1277,8 +1277,8 @@ server_client_check_redraw(struct client *c)
screen_redraw_update(c); /* will adjust flags */
}
flags = tty->flags & (TTY_FREEZE|TTY_NOCURSOR);
tty->flags = (tty->flags & ~TTY_FREEZE) | TTY_NOCURSOR;
flags = tty->flags & (TTY_BLOCK|TTY_FREEZE|TTY_NOCURSOR);
tty->flags = (tty->flags & ~(TTY_BLOCK|TTY_FREEZE)) | TTY_NOCURSOR;
if (c->flags & CLIENT_REDRAW) {
tty_update_mode(tty, tty->mode, NULL);