From: Patrick Hallen Date: Wed, 11 Feb 2009 19:07:07 +0000 (+0100) Subject: screen_utils: Use werase() instead of wclear(). X-Git-Tag: release-0.14~105 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a093e1d3f353c39e332df47e4a545d9af81114b4;p=ncmpc.git screen_utils: Use werase() instead of wclear(). Use werase() instead of wclear() in screen_readch(), because wclear() rebuilds the whole window from scratch and flickers. --- diff --git a/src/screen_utils.c b/src/screen_utils.c index d168d22..9dde20c 100644 --- a/src/screen_utils.c +++ b/src/screen_utils.c @@ -47,7 +47,7 @@ screen_getch(WINDOW *w, const char *prompt) int key = -1; colors_use(w, COLOR_STATUS_ALERT); - wclear(w); + werase(w); wmove(w, 0, 0); waddstr(w, prompt);