mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-23 05:11:35 +03:00
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
This commit is contained in:
parent
475c402b65
commit
3a5e6f9317
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user