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 <alpha@qzx.com>
This commit is contained in:
Benno Schulenberg 2017-12-29 16:58:14 +01:00
parent 440a128d25
commit eac90c3eff
1 changed files with 2 additions and 0 deletions

View File

@ -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. */