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:
Arun Prakash Jana 2018-11-03 05:13:18 +05:30 committed by GitHub
commit 54ed5451c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

2
nnn.h
View File

@ -102,6 +102,8 @@ static struct assoc assocs[] = {
static struct key bindings[] = {
/* Back */
{ KEY_BACKSPACE, SEL_BACK, "", "" },
{ 8 /* BS */, SEL_BACK, "", "" },
{ 127 /* DEL */, SEL_BACK, "", "" },
{ KEY_LEFT, SEL_BACK, "", "" },
{ 'h', SEL_BACK, "", "" },
{ CONTROL('H'), SEL_BACK, "", "" },