From ac9550d4c248f75994529f1dd2b2f834a4be3247 Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <bensberg@justemail.net>
Date: Mon, 1 May 2017 17:11:44 +0200
Subject: [PATCH] tweaks: remove two superfluous calls of wnoutrefresh()

The bottomwin has just been refreshed by update_the_statusbar(),
and it should not be the responsibility of the prompt routines
to keep the edit window up to date, as they don't write anything
there.
---
 src/prompt.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/prompt.c b/src/prompt.c
index 161c77af..8d849a48 100644
--- a/src/prompt.c
+++ b/src/prompt.c
@@ -459,10 +459,6 @@ functionptrtype acquire_an_answer(int *actual, bool allow_tabs,
 
     update_the_statusbar();
 
-    /* Refresh edit window and statusbar before getting input. */
-    wnoutrefresh(edit);
-    wnoutrefresh(bottomwin);
-
     while (TRUE) {
 	/* Ensure the cursor is shown when waiting for input. */
 	curs_set(1);
-- 
GitLab