1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

Don't redraw screen after EVERY /SET, just when /SET colors has changed.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@424 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-07-04 00:44:45 +00:00 committed by cras
parent d1d7840db1
commit f41dc62570

View File

@ -100,9 +100,11 @@ static void read_signals(void)
static void read_settings(void)
{
int old_colors = use_colors;
use_colors = settings_get_bool("colors");
read_signals();
irssi_redraw();
if (use_colors != old_colors) irssi_redraw();
}
/* Initialize screen, detect screen length */