2007-04-18 David Lawrence Ramsey <pooka109@gmail.com>
+ * winio.c (parse_kbinput): Interpret Cancel and Shift-Cancel.
* winio.c (get_escape_seq_kbinput): Add missing comments.
2007-04-17 David Lawrence Ramsey <pooka109@gmail.com>
retval = ERR;
break;
#endif
+#ifdef KEY_CANCEL
+ /* Slang doesn't support KEY_CANCEL. */
+ case KEY_CANCEL:
+ retval = NANO_CANCEL_KEY;
+ break;
+#endif
#ifdef KEY_END
/* HP-UX 10-11 doesn't support KEY_END. */
case KEY_END:
retval = ERR;
break;
#endif
+#ifdef KEY_SCANCEL
+ /* Slang doesn't support KEY_SCANCEL. */
+ case KEY_SCANCEL:
+ retval = NANO_CANCEL_KEY;
+ break;
+#endif
#ifdef KEY_SDC
/* Slang doesn't support KEY_SDC. */
case KEY_SDC: