add support for setting highlight

This commit is contained in:
Daniel Micay 2012-09-08 02:59:32 -04:00
parent dac303ef1d
commit e96ab0829e
2 changed files with 6 additions and 0 deletions

View File

@ -829,6 +829,9 @@ static void load_config(GtkWindow *window, VteTerminal *vte, config_info *info,
if (get_config_color(config, "cursor", &color)) { if (get_config_color(config, "cursor", &color)) {
vte_terminal_set_color_cursor(vte, &color); vte_terminal_set_color_cursor(vte, &color);
} }
if (get_config_color(config, "highlight", &color)) {
vte_terminal_set_color_highlight(vte, &color);
}
} }
g_free(path); g_free(path);
g_key_file_free(config); g_key_file_free(config);

View File

@ -39,6 +39,9 @@ foreground_bold = #ffffff
background = #3f3f3f background = #3f3f3f
#cursor = #dcdccc #cursor = #dcdccc
# if unset, will reverse foreground and background
highlight = #2f2f2f
# colors from color0 to color254 can be set # colors from color0 to color254 can be set
color0 = #3f3f3f color0 = #3f3f3f
color1 = #705050 color1 = #705050