Commit eac90c3e authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

prompt: blank the bar when a "continue?" is answered with No or ^C

This fixes https://savannah.gnu.org/bugs/?52755

.
Reported-by: default avatarBrand Huntsman <alpha@qzx.com>
parent 440a128d
Showing with 2 additions and 0 deletions
+2 -0
......@@ -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. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment