From ba041d04c209850ef7cd42077c392d6e54bb235f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 16 Sep 2008 19:44:37 +0200 Subject: [PATCH] initial draw without delay Due to a missing refresh() call, ncmpc painted the screen after one second. Add refresh(), make ncmpc display immediately. --- src/screen.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.30.2