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

Diff for /src/usr.bin/tmux/tty-term.c between version 1.58 and 1.59

version 1.58, 2018/02/04 10:10:39 version 1.59, 2018/05/07 13:39:09
Line 488 
Line 488 
                 goto error;                  goto error;
         }          }
   
         /* Figure out if we have 256. */          /* Figure out if we have 256 colours (or more). */
         if (tty_term_number(term, TTYC_COLORS) == 256)          if (tty_term_number(term, TTYC_COLORS) >= 256 ||
               tty_term_has(term, TTYC_RGB))
                 term->flags |= TERM_256COLOURS;                  term->flags |= TERM_256COLOURS;
   
         /*          /*

Legend:
Removed from v.1.58  
changed lines
  Added in v.1.59