From 5b17ef85e7567b75216018cb89d912f89bbc94ce Mon Sep 17 00:00:00 2001
From: David Lawrence Ramsey <pooka109@gmail.com>
Date: Mon, 31 Jul 2006 23:28:27 +0000
Subject: [PATCH] revert erroneous change

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3830 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
---
 ChangeLog   | 2 --
 src/winio.c | 6 ------
 2 files changed, 8 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 2b16539f..6adb990a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -169,8 +169,6 @@ CVS code -
 	- 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)
diff --git a/src/winio.c b/src/winio.c
index 5a9de072..06328a2a 100644
--- a/src/winio.c
+++ b/src/winio.c
@@ -650,12 +650,6 @@ int parse_kbinput(WINDOW *win, bool *meta_key, bool *func_key)
 	    case KEY_RESIZE:
 		retval = ERR;
 		break;
-#endif
-#ifdef KEY_EVENT
-	    /* Slang doesn't support KEY_EVENT. */
-	    case KEY_EVENT:
-		retval = ERR;
-		break;
 #endif
 	}
 
-- 
GitLab