mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
/SET term_force_colors was broken.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2154 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
241fc61d23
commit
dd408a959d
@ -94,7 +94,7 @@ static void read_settings(void)
|
||||
int old_colors = term_use_colors;
|
||||
|
||||
if (force_colors != settings_get_bool("term_force_colors")) {
|
||||
force_colors = !settings_get_bool("term_force_colors");
|
||||
force_colors = settings_get_bool("term_force_colors");
|
||||
term_force_colors(force_colors);
|
||||
}
|
||||
|
||||
@ -113,6 +113,7 @@ void term_common_init(void)
|
||||
settings_add_bool("lookandfeel", "colors", TRUE);
|
||||
settings_add_bool("lookandfeel", "term_force_colors", FALSE);
|
||||
|
||||
force_colors = FALSE;
|
||||
term_use_colors = term_has_colors() && settings_get_bool("colors");
|
||||
read_settings();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user