aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-16 19:44:37 +0200
committerMax Kellermann <max@duempel.org>2008-09-16 19:44:37 +0200
commitba041d04c209850ef7cd42077c392d6e54bb235f (patch)
treeb3916e03e3cd67d1f617c5be0f14f1c540f48661 /src
parent1f5d824d59709708350d37e6808383fc948e5dab (diff)
downloadmpd-ba041d04c209850ef7cd42077c392d6e54bb235f.tar.gz
mpd-ba041d04c209850ef7cd42077c392d6e54bb235f.tar.xz
mpd-ba041d04c209850ef7cd42077c392d6e54bb235f.zip
initial draw without delay
Due to a missing refresh() call, ncmpc painted the screen after one second. Add refresh(), make ncmpc display immediately.
Diffstat (limited to 'src')
-rw-r--r--src/screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/screen.c b/src/screen.c
index da7e132fa..c616715bf 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -615,6 +615,8 @@ ncurses_init(void)
wbkgd(screen->status_window.w, COLOR_PAIR(COLOR_STATUS));
colors_use(screen->progress_window.w, COLOR_PROGRESSBAR);
}
+
+ refresh();
}
int