nano

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

commit a2878bff67d71fd0171a6758a872cdb02dcb7880
parent 34cfa55f58502f7fdabccefa7ce4f366be6e23d5
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Fri, 18 Sep 2020 19:07:58 +0200

help: nicely pair menu items also when built with just --disable-help

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

diff --git a/src/global.c b/src/global.c @@ -749,6 +749,9 @@ void shortcut_init(void) #ifndef ENABLE_HELP add_to_funcs(full_refresh, MMAIN|MREPLACE, "Refresh", "x", 0, VIEW); +#ifndef NANO_TINY + add_to_funcs(full_refresh, MINSERTFILE|MEXECUTE, "Refresh", "x", 0, VIEW); +#endif add_to_funcs(flip_goto, MWHEREIS, "Go To Line", "x", 0, VIEW); add_to_funcs(flip_goto, MGOTOLINE, "Go To Text", "x", 0, VIEW); #endif