it's properly ignored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3829
35c25a1d-7b9e-4130-9fde-
d3aeb78583b8
- If they're defined, translate KEY_SUP into NANO_PREVLINE_KEY
and KEY_SDOWN into NANO_NEXTLINE_KEY, since they are sometimes
generated by Shift-Up and Shift-Down. (DLR)
+ - Translate KEY_EVENT to ERR if we get it, so that it's properly
+ ignored. (DLR)
parse_escape_seq_kbinput()
- Handle unknown and unignored escape sequences once here
instead of twice in parse_kbinput(). (DLR)
case KEY_RESIZE:
retval = ERR;
break;
+#endif
+#ifdef KEY_EVENT
+ /* Slang doesn't support KEY_EVENT. */
+ case KEY_EVENT:
+ retval = ERR;
+ break;
#endif
}