Fixed failures in case of unknown characters.
Fabio Cevasco h3rald@h3rald.com
Thu, 23 Jan 2020 17:06:28 +0100
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
nimline.nim
→
nimline.nim
@@ -649,7 +649,7 @@ if c4 == 126 and c3 == 50:
KEYMAP["insert"](ed) elif c4 == 126 and c3 == 51: KEYMAP["delete"](ed) - elif KEYMAP.hasKey(KEYNAMES[c1]): + elif c1 in CTRL and KEYMAP.hasKey(KEYNAMES[c1]): KEYMAP[KEYNAMES[c1]](ed) else: # Assuming unhandled two-values escape sequence; do nothing.