expose both the bold and dim foreground colors

This commit is contained in:
Daniel Micay 2012-06-25 15:27:21 -04:00
parent 169d970ad1
commit cdc4ad4433
2 changed files with 10 additions and 5 deletions

View File

@ -432,14 +432,18 @@ static void load_config(GtkWindow *window, VteTerminal *vte,
vte_terminal_set_colors(vte, NULL, NULL, palette, palette_size); vte_terminal_set_colors(vte, NULL, NULL, palette, palette_size);
} }
if (get_config_color(config, "dim", &color)) {
vte_terminal_set_color_dim(vte, &color);
}
if (get_config_color(config, "foreground", &color)) { if (get_config_color(config, "foreground", &color)) {
vte_terminal_set_color_foreground(vte, &color); vte_terminal_set_color_foreground(vte, &color);
} }
if (get_config_color(config, "foreground_bold", &color)) {
vte_terminal_set_color_bold(vte, &color);
}
if (get_config_color(config, "foreground_dim", &color)) {
vte_terminal_set_color_dim(vte, &color);
}
if (get_config_color(config, "background", &color)) { if (get_config_color(config, "background", &color)) {
vte_terminal_set_color_background(vte, &color); vte_terminal_set_color_background(vte, &color);
} }

View File

@ -31,8 +31,9 @@ cursor_shape = BLOCK
[colors] [colors]
foreground = #dcdccc foreground = #dcdccc
foreground_bold = #ffffff
#foreground_dim = #888888
background = #3f3f3f background = #3f3f3f
dim = #dcdccc
#cursor = #dcdccc #cursor = #dcdccc
# color = normal;bold;dim # color = normal;bold;dim