aboutsummaryrefslogtreecommitdiffstats
path: root/screen.c
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-03-26 13:28:51 +0000
committerKalle Wallin <kaw@linux.se>2004-03-26 13:28:51 +0000
commit1e17a1289f54c440ac552c741e949d66b3e9bfa5 (patch)
tree7260bed78f83b13b6b873946294d6f69c48ecad9 /screen.c
parent1c75a79b279c05fb7049183069942de39536a155 (diff)
downloadmpd-1e17a1289f54c440ac552c741e949d66b3e9bfa5.tar.gz
mpd-1e17a1289f54c440ac552c741e949d66b3e9bfa5.tar.xz
mpd-1e17a1289f54c440ac552c741e949d66b3e9bfa5.zip
Replaced wrefresh() with wnoutrefresh().
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@499 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--screen.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/screen.c b/screen.c
index 8a885f3f7..a63af20f6 100644
--- a/screen.c
+++ b/screen.c
@@ -98,7 +98,7 @@ paint_top_window(char *header, int volume, int clear)
if( options.enable_colors )
wattroff(w, LINE_COLORS);
- wrefresh(w);
+ wnoutrefresh(w);
}
}
@@ -112,7 +112,7 @@ paint_progress_window(mpd_client_t *c)
{
mvwhline(screen->progress_window.w, 0, 0, ACS_HLINE,
screen->progress_window.cols);
- wrefresh(screen->progress_window.w);
+ wnoutrefresh(screen->progress_window.w);
return;
}
@@ -125,7 +125,7 @@ paint_progress_window(mpd_client_t *c)
screen->progress_window.cols);
whline(screen->progress_window.w, '=', width-1);
mvwaddch(screen->progress_window.w, 0, width-1, 'O');
- wrefresh(screen->progress_window.w);
+ wnoutrefresh(screen->progress_window.w);
}
static void
@@ -201,7 +201,7 @@ paint_status_window(mpd_client_t *c)
#endif
- wrefresh(w);
+ wnoutrefresh(w);
}
@@ -245,7 +245,7 @@ screen_status_message(char *msg)
wattron(w, A_BOLD);
my_waddstr(w, msg, ALERT_COLORS);
wattroff(w, A_BOLD);
- wrefresh(w);
+ wnoutrefresh(w);
screen->status_timestamp = time(NULL);
}
@@ -397,6 +397,7 @@ screen_paint(mpd_client_t *c)
paint_progress_window(c);
paint_status_window(c);
screen->painted = 1;
+ doupdate();
}
void
@@ -426,6 +427,7 @@ screen_update(mpd_client_t *c)
}
paint_progress_window(c);
paint_status_window(c);
+ doupdate();
}
void