[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.301 and 1.302

version 1.301, 2018/04/23 07:41:30 version 1.302, 2018/05/07 13:39:09
Line 2000 
Line 2000 
         char                     s[32];          char                     s[32];
   
         /* Is this a 24-bit or 256-colour colour? */          /* Is this a 24-bit or 256-colour colour? */
         if (gc->fg & COLOUR_FLAG_RGB ||          if (gc->fg & COLOUR_FLAG_RGB || gc->fg & COLOUR_FLAG_256) {
             gc->fg & COLOUR_FLAG_256) {  
                 if (tty_try_colour(tty, gc->fg, "38") == 0)                  if (tty_try_colour(tty, gc->fg, "38") == 0)
                         goto save_fg;                          goto save_fg;
                 /* Should not get here, already converted in tty_check_fg. */                  /* Should not get here, already converted in tty_check_fg. */
Line 2030 
Line 2029 
         char                     s[32];          char                     s[32];
   
         /* Is this a 24-bit or 256-colour colour? */          /* Is this a 24-bit or 256-colour colour? */
         if (gc->bg & COLOUR_FLAG_RGB ||          if (gc->bg & COLOUR_FLAG_RGB || gc->bg & COLOUR_FLAG_256) {
             gc->bg & COLOUR_FLAG_256) {  
                 if (tty_try_colour(tty, gc->bg, "48") == 0)                  if (tty_try_colour(tty, gc->bg, "48") == 0)
                         goto save_bg;                          goto save_bg;
                 /* Should not get here, already converted in tty_check_bg. */                  /* Should not get here, already converted in tty_check_bg. */

Legend:
Removed from v.1.301  
changed lines
  Added in v.1.302