aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-11-03 05:13:18 +0530
committerGravatar GitHub <noreply@github.com>2018-11-03 05:13:18 +0530
commit54ed5451c07ccf65bd72a5dd9a311f4a1e408191 (patch)
treec09c2e72d27a65a325e311d2160cfa945217f1ed
parentb12a27fc83f20298fdc6bb4c8faf93d2e718de74 (diff)
parent66ddbfc5d5a5d907122d8b9f818b8662dada308e (diff)
downloadnnn-54ed5451c07ccf65bd72a5dd9a311f4a1e408191.tar.gz
Merge pull request #123 from detunized/master
Map BS (8) and DEL (127) key codes to SEL_BACK as well
-rw-r--r--nnn.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/nnn.h b/nnn.h
index 420bd13..07d6774 100644
--- a/nnn.h
+++ b/nnn.h
@@ -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, "", "" },