Commit b9446ac4 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

really fix handling of NANO_CONTROL_8

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3527 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 3 additions and 3 deletions
+3 -3
......@@ -612,11 +612,11 @@ int parse_kbinput(WINDOW *win, bool *meta_key, bool *func_key)
if (retval != ERR) {
/* If our result is NANO_CONTROL_8, translate it to either
* Backspace or Delete, depending on whether REBIND_DELETE is
* Delete or Backspace, depending on whether REBIND_DELETE is
* TRUE or FALSE. */
if (retval == NANO_CONTROL_8)
retval = ISSET(REBIND_DELETE) ? NANO_BACKSPACE_KEY :
NANO_DELETE_KEY;
retval = ISSET(REBIND_DELETE) ? NANO_DELETE_KEY :
NANO_BACKSPACE_KEY;
/* If our result is an extended keypad value (i.e, a value
* outside of byte range), set func_key to TRUE. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment