version 1.320, 2019/04/17 14:43:49 |
version 1.321, 2019/04/24 20:29:24 |
|
|
|
|
/* 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; |
} |
} |
|
|
|
|
|
|
/* 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; |
} |
} |
|
|