nano

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

commit 3787494c1557bcbd40ffd8f579e010e554da38e4
parent 8de4b7aaebc1afb147973e578a83b56371ba530a
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Sun, 25 Dec 2016 12:14:25 +0100

help: don't crash when nano was started with --noread

There is no need to restore NOREAD_MODE after unsetting it, because
any files mentioned on the command line have already been /not/ read.

Diffstat:
Msrc/help.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/help.c b/src/help.c @@ -142,6 +142,7 @@ void do_help(void) } UNSET(WHITESPACE_DISPLAY); + UNSET(NOREAD_MODE); bottombars(MHELP); wnoutrefresh(bottomwin);