diff options
author | Kalle Wallin <kaw@linux.se> | 2004-03-28 16:38:25 +0000 |
---|---|---|
committer | Kalle Wallin <kaw@linux.se> | 2004-03-28 16:38:25 +0000 |
commit | 03af1645293ee6d1e0d083f1a9392e8606afb8bd (patch) | |
tree | cea30fcfb13f813ad5916c5c7204ba628be88715 /screen.c | |
parent | 92d0616e227e95dc1318a3a12945a5083028b457 (diff) | |
download | mpd-03af1645293ee6d1e0d083f1a9392e8606afb8bd.tar.gz mpd-03af1645293ee6d1e0d083f1a9392e8606afb8bd.tar.xz mpd-03af1645293ee6d1e0d083f1a9392e8606afb8bd.zip |
Moved cursor to main window (0,0) when idle
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@523 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | screen.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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(); } |