nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit eac90c3eff90c5a18cd55fbe4f66ba6ccbb116ef
parent 440a128d25ce87b2f8004411df7f62b224c6dc18
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Fri, 29 Dec 2017 16:58:14 +0100

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>

Diffstat:
Msrc/files.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git 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. */