nano

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

commit 477ff49f669b3fb5f918b5b21b62aa9fe2d94c0c
parent 85eb9b9a53953e921d482c279a73b04a80a19243
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Thu, 30 May 2019 19:06:06 +0200

feedback: don't try to represent keys outside of the seven-bit range

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

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

diff --git a/src/nano.c b/src/nano.c @@ -1541,7 +1541,7 @@ void confirm_margin(void) /* Say that an unbound key was struck, and if possible which one. */ void unbound_key(int code) { - if (!is_byte(code)) + if (code > 0x7F) statusline(ALERT, _("Unbound key")); else if (meta_key) { if (code == '[')