Return to tty-term.c CVS log | Up to [local] / src / usr.bin / tmux |
version 1.58, 2018/02/04 10:10:39 | version 1.59, 2018/05/07 13:39:09 | ||
---|---|---|---|
|
|
||
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; | ||
/* | /* |