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

core: display a warning when option weechat.look.eat_newline_glitch is enabled

This commit is contained in:
Sebastien Helleu
2011-11-15 11:45:44 +01:00
parent e5a74fca72
commit fb78fe4e44
11 changed files with 69 additions and 11 deletions
+6
View File
@@ -355,7 +355,13 @@ config_change_eat_newline_glitch (void *data, struct t_config_option *option)
if (gui_ok)
{
if (CONFIG_BOOLEAN(config_look_eat_newline_glitch))
{
gui_chat_printf (NULL,
_("WARNING: this option can cause serious display "
"bugs, if you have such problems, you must "
"turn off this option."));
gui_term_set_eat_newline_glitch (0);
}
else
gui_term_set_eat_newline_glitch (1);
}