mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02: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
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue