diff options
author | 2019-01-20 15:57:27 +0000 | |
---|---|---|
committer | 2019-01-20 15:57:27 +0000 | |
commit | 678130830bee074e33aaa5867a9f485a600f9a2c (patch) | |
tree | 29098120bd60ac28c1623fc9970803607e58c5da /usr.bin/tmux/tty.c | |
parent | merge weird BUGS section into HISTORY; (diff) | |
download | wireguard-openbsd-678130830bee074e33aaa5867a9f485a600f9a2c.tar.xz wireguard-openbsd-678130830bee074e33aaa5867a9f485a600f9a2c.zip |
Should use DECFRA if not default, not if default. From Karl Beldan.
Diffstat (limited to 'usr.bin/tmux/tty.c')
-rw-r--r-- | usr.bin/tmux/tty.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/tty.c b/usr.bin/tmux/tty.c index 919870ae403..75ba0e1dec8 100644 --- a/usr.bin/tmux/tty.c +++ b/usr.bin/tmux/tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.312 2019/01/15 12:08:53 nicm Exp $ */ +/* $OpenBSD: tty.c,v 1.313 2019/01/20 15:57:27 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -1102,7 +1102,7 @@ tty_clear_area(struct tty *tty, const struct window_pane *wp, u_int py, * background colour isn't default (because it doesn't work * after SGR 0). */ - if (tty->term_type == TTY_VT420 && COLOUR_DEFAULT(bg)) { + if (tty->term_type == TTY_VT420 && !COLOUR_DEFAULT(bg)) { xsnprintf(tmp, sizeof tmp, "\033[32;%u;%u;%u;%u$x", py + 1, px + 1, py + ny, px + nx); tty_puts(tty, tmp); |