revert erroneous change

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3830 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
David Lawrence Ramsey 2006-07-31 23:28:27 +00:00
parent 3714e07d7b
commit 5b17ef85e7
2 changed files with 0 additions and 8 deletions

View File

@ -169,8 +169,6 @@ CVS code -
- If they're defined, translate KEY_SUP into NANO_PREVLINE_KEY - If they're defined, translate KEY_SUP into NANO_PREVLINE_KEY
and KEY_SDOWN into NANO_NEXTLINE_KEY, since they are sometimes and KEY_SDOWN into NANO_NEXTLINE_KEY, since they are sometimes
generated by Shift-Up and Shift-Down. (DLR) 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() parse_escape_seq_kbinput()
- Handle unknown and unignored escape sequences once here - Handle unknown and unignored escape sequences once here
instead of twice in parse_kbinput(). (DLR) instead of twice in parse_kbinput(). (DLR)

View File

@ -650,12 +650,6 @@ int parse_kbinput(WINDOW *win, bool *meta_key, bool *func_key)
case KEY_RESIZE: case KEY_RESIZE:
retval = ERR; retval = ERR;
break; break;
#endif
#ifdef KEY_EVENT
/* Slang doesn't support KEY_EVENT. */
case KEY_EVENT:
retval = ERR;
break;
#endif #endif
} }