1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 22:06:38 +02:00

fset: add options fset.color.name_changed and fset.color.name_changed_selected

This commit is contained in:
Sébastien Helleu
2017-06-02 20:41:03 +02:00
parent d5aa8530b7
commit cffa55e05e
3 changed files with 24 additions and 2 deletions
+5 -1
View File
@@ -137,7 +137,11 @@ fset_buffer_display_line (int y, struct t_fset_option *fset_option)
"__name", str_field);
snprintf (str_field, sizeof (str_field),
"%s%s",
weechat_color (weechat_config_string (fset_config_color_name[selected_line])),
weechat_color (
weechat_config_string (
(value_changed) ?
fset_config_color_name_changed[selected_line] :
fset_config_color_name[selected_line])),
(ptr_field) ? ptr_field : "");
weechat_hashtable_set (fset_buffer_hashtable_extra_vars,
"_name", str_field);