mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 14:27:09 +00:00
Do not update mode until actually drawing something.
This commit is contained in:
3
tty.c
3
tty.c
@ -676,7 +676,8 @@ tty_update_mode(struct tty *tty, int mode, struct screen *s)
|
||||
mode &= ~MODE_CURSOR;
|
||||
|
||||
changed = mode ^ tty->mode;
|
||||
log_debug("%s: update mode %x to %x", c->name, tty->mode, mode);
|
||||
if (changed != 0)
|
||||
log_debug("%s: update mode %x to %x", c->name, tty->mode, mode);
|
||||
|
||||
if (changed & MODE_BLINKING) {
|
||||
if (tty_term_has(tty->term, TTYC_CVVIS))
|
||||
|
Reference in New Issue
Block a user