From 66ddbfc5d5a5d907122d8b9f818b8662dada308e Mon Sep 17 00:00:00 2001 From: Dmitry Yakimenko Date: Sat, 3 Nov 2018 00:03:55 +0100 Subject: [PATCH] Map BS (8) and DEL (127) key codes to SEL_BACK as well --- nnn.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nnn.h b/nnn.h index 420bd133..07d6774c 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, "", "" },