diff options
author | Timo Sirainen <cras@irssi.org> | 2000-07-04 00:44:45 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-07-04 00:44:45 +0000 |
commit | f41dc62570c59055e56cc33c89699d88a2bdb085 (patch) | |
tree | 3b070166f627c37fd6ac83b9c2114226e82d3c43 | |
parent | d1d7840db1a9075b2d6c4cab0db102d56b33f12d (diff) | |
download | irssi-f41dc62570c59055e56cc33c89699d88a2bdb085.zip |
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
-rw-r--r-- | src/fe-text/screen.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fe-text/screen.c b/src/fe-text/screen.c index 8970a9b2..3807900c 100644 --- a/src/fe-text/screen.c +++ b/src/fe-text/screen.c @@ -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 */ |