From: Max Kellermann Date: Tue, 16 Sep 2008 17:44:37 +0000 (+0200) Subject: initial draw without delay X-Git-Tag: v0.12_alpha1~285 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ba041d04c209850ef7cd42077c392d6e54bb235f;p=ncmpc.git initial draw without delay Due to a missing refresh() call, ncmpc painted the screen after one second. Add refresh(), make ncmpc display immediately. --- diff --git a/src/screen.c b/src/screen.c index da7e132..c616715 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