commit 54ed5451c07ccf65bd72a5dd9a311f4a1e408191
parent b12a27fc83f20298fdc6bb4c8faf93d2e718de74
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Sat, 3 Nov 2018 05:13:18 +0530
Merge pull request #123 from detunized/master
Map BS (8) and DEL (127) key codes to SEL_BACK as well
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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, "", "" },