=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tty.c,v retrieving revision 1.312 retrieving revision 1.313 diff -u -r1.312 -r1.313 --- src/usr.bin/tmux/tty.c 2019/01/15 12:08:53 1.312 +++ src/usr.bin/tmux/tty.c 2019/01/20 15:57:27 1.313 @@ -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 @@ -1102,7 +1102,7 @@ * 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);