mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 11:18:48 +00:00
Do not return early if no bits changed because may still need to change the style.
This commit is contained in:
parent
115bb33257
commit
1ddc128860
2
tty.c
2
tty.c
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user