Commit 3a5e6f93 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

handle Shift-Delete properly when the -d option is used

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3266 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 2 additions and 1 deletion
+2 -1
......@@ -478,7 +478,8 @@ int parse_kbinput(WINDOW *win, bool *meta_key, bool *func_key
#ifdef KEY_SDC
/* Slang doesn't support KEY_SDC. */
case KEY_SDC:
retval = NANO_DELETE_KEY;
retval = ISSET(REBIND_DELETE) ?
NANO_BACKSPACE_KEY : NANO_DELETE_KEY;
break;
#endif
#ifdef KEY_SEND
......
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