From 03af1645293ee6d1e0d083f1a9392e8606afb8bd Mon Sep 17 00:00:00 2001 From: Kalle Wallin Date: Sun, 28 Mar 2004 16:38:25 +0000 Subject: [PATCH] Moved cursor to main window (0,0) when idle git-svn-id: https://svn.musicpd.org/ncmpc/trunk@523 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- screen.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(); } -- 2.30.2