GUACAMOLE-278: Merge SGR bright color support for terminal.

This commit is contained in:
James Muehlner 2017-04-26 22:13:01 -07:00
commit 0e5498fc83

View File

@ -967,6 +967,18 @@ int guac_terminal_csi(guac_terminal* term, unsigned char c) {
term->current_attributes.background =
term->default_char.attributes.background;
/* Intense foreground */
else if (value >= 90 && value <= 97)
term->current_attributes.foreground =
guac_terminal_palette[value - 90
+ GUAC_TERMINAL_FIRST_INTENSE];
/* Intense background */
else if (value >= 100 && value <= 107)
term->current_attributes.background =
guac_terminal_palette[value - 100
+ GUAC_TERMINAL_FIRST_INTENSE];
}
break;