[BACK]Return to cmd-display-panes.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/cmd-display-panes.c between version 1.34 and 1.35

version 1.34, 2020/04/13 20:51:57 version 1.35, 2020/05/16 15:34:08
Line 131 
Line 131 
                 gc.bg = active_colour;                  gc.bg = active_colour;
         else          else
                 gc.bg = colour;                  gc.bg = colour;
         gc.flags |= GRID_FLAG_NOPALETTE;          tty_attributes(tty, &gc, &grid_default_cell, NULL);
   
         tty_attributes(tty, &gc, wp);  
         for (ptr = buf; *ptr != '\0'; ptr++) {          for (ptr = buf; *ptr != '\0'; ptr++) {
                 if (*ptr < '0' || *ptr > '9')                  if (*ptr < '0' || *ptr > '9')
                         continue;                          continue;
Line 160 
Line 158 
                 gc.fg = active_colour;                  gc.fg = active_colour;
         else          else
                 gc.fg = colour;                  gc.fg = colour;
         gc.flags |= GRID_FLAG_NOPALETTE;          tty_attributes(tty, &gc, &grid_default_cell, NULL);
   
         tty_attributes(tty, &gc, wp);  
         tty_puts(tty, buf);          tty_puts(tty, buf);
   
         tty_cursor(tty, 0, 0);          tty_cursor(tty, 0, 0);

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.35