nano

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

commit e597ad4908f8a2ca444d7a7dbe929cbd0f687aac
parent 100747f56b16cba1b2fbf3d5f05bd13aac43103f
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Tue, 11 Aug 2020 19:58:04 +0200

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

Diffstat:
Msrc/winio.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/winio.c b/src/winio.c @@ -1400,12 +1400,13 @@ int *parse_verbatim_kbinput(WINDOW *win, size_t *count) linger_after_escape = FALSE; +#ifndef NANO_TINY if (keycode == KEY_WINCH) { *count = 999; free(yield); return NULL; } - +#endif /* For an invalid digit, discard its possible continuation bytes. */ if (unicode == INVALID_DIGIT) { if (keycode == ESC_CODE) {