nano

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

commit c7affe17c04447a0c026952d2c4548b55968466a
parent e21ce0db1fbfdb25dd5c55aaabcb40dc8ff8a67a
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sat,  8 Sep 2018 12:23:39 +0200

build: fix compilation again when configured with --enable-tiny

Diffstat:
Msrc/global.c | 2+-
Msrc/winio.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/global.c b/src/global.c @@ -1015,10 +1015,10 @@ void shortcut_init(void) add_to_funcs(flip_newbuffer, MINSERTFILE|MEXTCMD, N_("New Buffer"), WITHORSANS(newbuffer_gist), TOGETHER, NOVIEW); #endif +#ifndef NANO_TINY add_to_funcs(flip_convert, MINSERTFILE, N_("No Conversion"), WITHORSANS(convert_gist), TOGETHER, NOVIEW); -#ifndef NANO_TINY /* Command execution is only available when not in restricted mode. */ if (!ISSET(RESTRICTED)) { add_to_funcs(flip_execute, MINSERTFILE, diff --git a/src/winio.c b/src/winio.c @@ -540,9 +540,9 @@ int parse_kbinput(WINDOW *win) return CONTROL_END; else if (retval == controldelete) return CONTROL_DELETE; +#ifndef NANO_TINY else if (retval == controlshiftdelete) return the_code_for(do_cut_prev_word, KEY_BACKSPACE); -#ifndef NANO_TINY else if (retval == shiftcontrolleft) { shift_held = TRUE; return CONTROL_LEFT;