From a998c48b35036abe00e25cb79c51c7d1348f0df1 Mon Sep 17 00:00:00 2001 From: anon Date: Sun, 15 Oct 2023 20:33:07 +0200 Subject: [PATCH] optimized refreshing by using less known curses routines --- source/display.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/source/display.c b/source/display.c index 670db61..88727db 100644 --- a/source/display.c +++ b/source/display.c @@ -845,11 +845,12 @@ void display(void) { if(window_change & CH_MODE) { display_mode(); } refresh(); - wrefresh(winput); - wrefresh(wmode); - wrefresh(wresult); - wrefresh(wtooltip); - wrefresh(wcase); + wnoutrefresh(winput); + wnoutrefresh(wmode); + wnoutrefresh(wresult); + wnoutrefresh(wtooltip); + wnoutrefresh(wcase); + doupdate(); } window_change = CH_NONE;