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:
parent
d1d7840db1
commit
f41dc62570
@ -100,9 +100,11 @@ static void read_signals(void)
|
|||||||
|
|
||||||
static void read_settings(void)
|
static void read_settings(void)
|
||||||
{
|
{
|
||||||
|
int old_colors = use_colors;
|
||||||
|
|
||||||
use_colors = settings_get_bool("colors");
|
use_colors = settings_get_bool("colors");
|
||||||
read_signals();
|
read_signals();
|
||||||
irssi_redraw();
|
if (use_colors != old_colors) irssi_redraw();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Initialize screen, detect screen length */
|
/* Initialize screen, detect screen length */
|
||||||
|
Loading…
Reference in New Issue
Block a user