nano

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

commit 19c82e6a431bb508d0c16ea7edf237d04af64972
parent 84d21b0972e671b40555fee93d9fdb3dd4f7fe7d
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Mon,  1 Apr 2019 18:04:14 +0200

feedback: spare the user a superfluous scaring when trying to exit

Also, a simple question is easier to answer than an annotated one.

Diffstat:
Msrc/nano.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/nano.c b/src/nano.c @@ -1064,8 +1064,7 @@ void do_exit(void) if (ISSET(TEMP_FILE)) warn_and_shortly_pause(_("No file name")); - choice = do_yesno_prompt(FALSE, _("Save modified buffer? " - "(Answering \"No\" will DISCARD changes.) ")); + choice = do_yesno_prompt(FALSE, _("Save modified buffer? ")); } /* If the user chose not to save, or if the user chose to save and