version 1.301, 2018/04/23 07:41:30 |
version 1.302, 2018/05/07 13:39:09 |
|
|
char s[32]; |
char s[32]; |
|
|
/* Is this a 24-bit or 256-colour colour? */ |
/* Is this a 24-bit or 256-colour colour? */ |
if (gc->fg & COLOUR_FLAG_RGB || |
if (gc->fg & COLOUR_FLAG_RGB || gc->fg & COLOUR_FLAG_256) { |
gc->fg & COLOUR_FLAG_256) { |
|
if (tty_try_colour(tty, gc->fg, "38") == 0) |
if (tty_try_colour(tty, gc->fg, "38") == 0) |
goto save_fg; |
goto save_fg; |
/* Should not get here, already converted in tty_check_fg. */ |
/* Should not get here, already converted in tty_check_fg. */ |
|
|
char s[32]; |
char s[32]; |
|
|
/* Is this a 24-bit or 256-colour colour? */ |
/* Is this a 24-bit or 256-colour colour? */ |
if (gc->bg & COLOUR_FLAG_RGB || |
if (gc->bg & COLOUR_FLAG_RGB || gc->bg & COLOUR_FLAG_256) { |
gc->bg & COLOUR_FLAG_256) { |
|
if (tty_try_colour(tty, gc->bg, "48") == 0) |
if (tty_try_colour(tty, gc->bg, "48") == 0) |
goto save_bg; |
goto save_bg; |
/* Should not get here, already converted in tty_check_bg. */ |
/* Should not get here, already converted in tty_check_bg. */ |