From f41dc62570c59055e56cc33c89699d88a2bdb085 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Tue, 4 Jul 2000 00:44:45 +0000 Subject: 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 --- src/fe-text/screen.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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 */ -- cgit v1.2.3