version 1.312, 2019/01/15 12:08:53 |
version 1.313, 2019/01/20 15:57:27 |
|
|
* background colour isn't default (because it doesn't work |
* background colour isn't default (because it doesn't work |
* after SGR 0). |
* 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", |
xsnprintf(tmp, sizeof tmp, "\033[32;%u;%u;%u;%u$x", |
py + 1, px + 1, py + ny, px + nx); |
py + 1, px + 1, py + ny, px + nx); |
tty_puts(tty, tmp); |
tty_puts(tty, tmp); |