From: Kalle Wallin Date: Sun, 28 Mar 2004 16:38:25 +0000 (+0000) Subject: Moved cursor to main window (0,0) when idle X-Git-Tag: v0.12_alpha1~632 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=03af1645293ee6d1e0d083f1a9392e8606afb8bd;p=ncmpc.git Moved cursor to main window (0,0) when idle git-svn-id: https://svn.musicpd.org/ncmpc/trunk@523 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- diff --git a/screen.c b/screen.c index 8d14376..3025d9a 100644 --- a/screen.c +++ b/screen.c @@ -347,7 +347,7 @@ screen_init(void) screen->main_window.cols, screen->main_window.rows ); - leaveok(screen->main_window.w, TRUE); + // leaveok(screen->main_window.w, TRUE); temporary disabled keypad(screen->main_window.w, TRUE); /* create progress window */ @@ -408,6 +408,7 @@ screen_paint(mpd_client_t *c) paint_progress_window(c); paint_status_window(c); screen->painted = 1; + wmove(screen->main_window.w, 0, 0); wnoutrefresh(screen->main_window.w); doupdate(); } @@ -456,6 +457,7 @@ screen_update(mpd_client_t *c) } paint_progress_window(c); paint_status_window(c); + wmove(screen->main_window.w, 0, 0); wnoutrefresh(screen->main_window.w); doupdate(); }