From 1ddc128860597bdded53a60c074596a4d39cc153 Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 17 Mar 2020 12:20:12 +0000 Subject: [PATCH] Do not return early if no bits changed because may still need to change the style. --- tty.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tty.c b/tty.c index ef66ebbb..862a1266 100644 --- a/tty.c +++ b/tty.c @@ -668,8 +668,6 @@ tty_update_mode(struct tty *tty, int mode, struct screen *s) mode &= ~MODE_CURSOR; changed = mode ^ tty->mode; - if (changed == 0) - return; log_debug("%s: update mode %x to %x", c->name, tty->mode, mode); if (changed & MODE_BLINKING) {