Lines Matching defs:colours
2567 /* Copy cell and update default colours. */
2599 /* Fix up the colours if necessary. */
2612 * Set the colours. This may call tty_reset() (so it comes next) and
2675 * best solution might be to reset both colours to default, in which
2681 * If don't have AX, send sgr0. This resets both colours to default.
2719 u_int colours;
2746 /* How many colours does this terminal have? */
2748 colours = 256;
2750 colours = tty_term_number(tty->term, TTYC_COLORS);
2755 if (colours < 256) {
2759 if (colours >= 16)
2769 if (gc->fg >= 90 && gc->fg <= 97 && colours < 16) {
2780 u_int colours;
2798 /* How many colours does this terminal have? */
2800 colours = 256;
2802 colours = tty_term_number(tty->term, TTYC_COLORS);
2811 if (colours < 256) {
2815 if (colours >= 16)
2823 if (gc->bg >= 90 && gc->bg <= 97 && colours < 16)