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