nano

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

commit 1551c1c77163bf8d78070568e25875bead02faac
parent 8e226a9f28ec7ee063a22309f1b1de80562d3565
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Mon, 10 Aug 2020 11:48:31 +0200

verbatim: do not report "Invalid code" when a Unicode character is typed

This fixes https://savannah.gnu.org/bugs/?58928.

Bug existed since version 5.0, commit 5899181a.

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

diff --git a/src/winio.c b/src/winio.c @@ -1465,7 +1465,7 @@ char *get_verbatim_kbinput(WINDOW *win, size_t *count) beep(); } else if (*input >= 0x80 && *count == 1) { put_back(*input); - *count = 0; + *count = 999; } }