[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.320 and 1.321

version 1.320, 2019/04/17 14:43:49 version 1.321, 2019/04/24 20:29:24
Line 2388 
Line 2388 
   
         /* Is this an aixterm bright colour? */          /* Is this an aixterm bright colour? */
         if (gc->fg >= 90 && gc->fg <= 97) {          if (gc->fg >= 90 && gc->fg <= 97) {
                 xsnprintf(s, sizeof s, "\033[%dm", gc->fg);                  tty_putcode1(tty, TTYC_SETAF, gc->fg - 90 + 8);
                 tty_puts(tty, s);  
                 goto save_fg;                  goto save_fg;
         }          }
   
Line 2417 
Line 2416 
   
         /* Is this an aixterm bright colour? */          /* Is this an aixterm bright colour? */
         if (gc->bg >= 90 && gc->bg <= 97) {          if (gc->bg >= 90 && gc->bg <= 97) {
                 xsnprintf(s, sizeof s, "\033[%dm", gc->bg + 10);                  tty_putcode1(tty, TTYC_SETAB, gc->bg - 90 + 8);
                 tty_puts(tty, s);  
                 goto save_bg;                  goto save_bg;
         }          }
   

Legend:
Removed from v.1.320  
changed lines
  Added in v.1.321