nano

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

commit 68cfb08888a701b8ed330299f4844d3a473c804c
parent 4cff67fdde51752223f235d5588529de56be29d3
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Mon, 25 Jul 2016 17:28:54 +0200

tweaks: fix compilation with --enable-tiny

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

diff --git a/src/winio.c b/src/winio.c @@ -1399,12 +1399,14 @@ int *parse_verbatim_kbinput(WINDOW *win, size_t *kbinput_len) while ((kbinput = get_input(win, 1)) == NULL) ; +#ifndef NANO_TINY /* When the window was resized, abort and return nothing. */ if (*kbinput == KEY_WINCH) { *kbinput_len = 0; free(kbinput); return NULL; } +#endif #ifdef ENABLE_UTF8 if (using_utf8()) {