diff --git a/src/prompt.c b/src/prompt.c
index 161c77af019e4763a2e7ee0c4778f6a1d5195268..8d849a48c373a9eaec2279d6660d7846a68b8b49 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);