From eac90c3eff90c5a18cd55fbe4f66ba6ccbb116ef Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Fri, 29 Dec 2017 16:58:14 +0100 Subject: [PATCH] prompt: blank the bar when a "continue?" is answered with No or ^C This fixes https://savannah.gnu.org/bugs/?52755. Reported-by: Brand Huntsman --- src/files.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/files.c b/src/files.c index 1f18ea94..7ed62307 100644 --- a/src/files.c +++ b/src/files.c @@ -373,6 +373,7 @@ int do_lockfile(const char *filename) if (response < 1) { blank_statusbar(); + wnoutrefresh(bottomwin); goto free_the_name; } } @@ -2218,6 +2219,7 @@ int do_writeout(bool exiting, bool withprompt) response = do_yesno_prompt(FALSE, _("File was modified " "since you opened it; continue saving? ")); blank_statusbar(); + wnoutrefresh(bottomwin); /* When in tool mode and not called by 'savefile', * overwrite the file right here when requested. */