From a093e1d3f353c39e332df47e4a545d9af81114b4 Mon Sep 17 00:00:00 2001 From: Patrick Hallen Date: Wed, 11 Feb 2009 20:07:07 +0100 Subject: [PATCH] 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. --- src/screen_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2