mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 13:51:31 +00:00
Merge pull request #123 from detunized/master
Map BS (8) and DEL (127) key codes to SEL_BACK as well
This commit is contained in:
commit
54ed5451c0
2
nnn.h
2
nnn.h
|
@ -102,6 +102,8 @@ static struct assoc assocs[] = {
|
||||||
static struct key bindings[] = {
|
static struct key bindings[] = {
|
||||||
/* Back */
|
/* Back */
|
||||||
{ KEY_BACKSPACE, SEL_BACK, "", "" },
|
{ KEY_BACKSPACE, SEL_BACK, "", "" },
|
||||||
|
{ 8 /* BS */, SEL_BACK, "", "" },
|
||||||
|
{ 127 /* DEL */, SEL_BACK, "", "" },
|
||||||
{ KEY_LEFT, SEL_BACK, "", "" },
|
{ KEY_LEFT, SEL_BACK, "", "" },
|
||||||
{ 'h', SEL_BACK, "", "" },
|
{ 'h', SEL_BACK, "", "" },
|
||||||
{ CONTROL('H'), SEL_BACK, "", "" },
|
{ CONTROL('H'), SEL_BACK, "", "" },
|
||||||
|
|
Loading…
Reference in a new issue