1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 12:56:37 +02:00

trigger: add option trigger.look.monitor_strip_colors

This commit is contained in:
Sebastien Helleu
2014-02-10 13:28:45 +01:00
parent 9b3d2eeec7
commit 93d3375440
3 changed files with 9 additions and 6 deletions
+2 -1
View File
@@ -54,7 +54,8 @@ trigger_buffer_hashtable_map_cb (void *data,
if (strcmp (value_type, "string") == 0)
{
value_no_color = weechat_string_remove_color ((const char *)value, NULL);
value_no_color = (weechat_config_boolean (trigger_config_look_monitor_strip_colors)) ?
weechat_string_remove_color ((const char *)value, NULL) : NULL;
weechat_printf_tags (trigger_buffer, "no_trigger",
"\t %s: \"%s\"",
(char *)key,