diff options
author | Max Kellermann <max@duempel.org> | 2008-09-16 19:44:37 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-16 19:44:37 +0200 |
commit | ba041d04c209850ef7cd42077c392d6e54bb235f (patch) | |
tree | b3916e03e3cd67d1f617c5be0f14f1c540f48661 /src | |
parent | 1f5d824d59709708350d37e6808383fc948e5dab (diff) | |
download | mpd-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.c | 2 |
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 |