[BACK]Return to tty.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/tty.c between version 1.312 and 1.313

version 1.312, 2019/01/15 12:08:53 version 1.313, 2019/01/20 15:57:27
Line 1102 
Line 1102 
                  * 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);

Legend:
Removed from v.1.312  
changed lines
  Added in v.1.313