Code

initial draw without delay
authorMax Kellermann <max@duempel.org>
Tue, 16 Sep 2008 17:44:37 +0000 (19:44 +0200)
committerMax Kellermann <max@duempel.org>
Tue, 16 Sep 2008 17:44:37 +0000 (19:44 +0200)
Due to a missing refresh() call, ncmpc painted the screen after one
second.  Add refresh(), make ncmpc display immediately.

src/screen.c

index da7e132fa8c45a566bb78487101ad09ed007f184..c616715bf884bfb45b383874c3c1a19a919dc1f9 100644 (file)
@@ -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