Do not return early if no bits changed because may still need to change the style.

This commit is contained in:
nicm 2020-03-17 12:20:12 +00:00
parent 115bb33257
commit 1ddc128860
1 changed files with 0 additions and 2 deletions

2
tty.c
View File

@ -668,8 +668,6 @@ tty_update_mode(struct tty *tty, int mode, struct screen *s)
mode &= ~MODE_CURSOR; mode &= ~MODE_CURSOR;
changed = mode ^ tty->mode; changed = mode ^ tty->mode;
if (changed == 0)
return;
log_debug("%s: update mode %x to %x", c->name, tty->mode, mode); log_debug("%s: update mode %x to %x", c->name, tty->mode, mode);
if (changed & MODE_BLINKING) { if (changed & MODE_BLINKING) {