summaryrefslogtreecommitdiff
path: root/usr.bin/tmux
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2020-03-17 12:20:13 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2020-03-17 12:20:13 +0000
commit8252c64337ab35e0abb12d04d9298390a6f2b054 (patch)
tree98c672b19ac40853376fd6d68f42174bee92e64c /usr.bin/tmux
parent789dd5a18e6483387d1d84ac0567fdf41fd8bbbb (diff)
Do not return early if no bits changed because may still need to change the style.
Diffstat (limited to 'usr.bin/tmux')
-rw-r--r--usr.bin/tmux/tty.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/tmux/tty.c b/usr.bin/tmux/tty.c
index 9f758fcd1ee..27324d68330 100644
--- a/usr.bin/tmux/tty.c
+++ b/usr.bin/tmux/tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty.c,v 1.344 2020/03/16 10:49:06 nicm Exp $ */
+/* $OpenBSD: tty.c,v 1.345 2020/03/17 12:20:12 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -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) {