From: Dmitry Yakimenko Date: Fri, 2 Nov 2018 23:03:55 +0000 (+0100) Subject: Map BS (8) and DEL (127) key codes to SEL_BACK as well X-Git-Tag: v2.1~73^2 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=66ddbfc5d5a5d907122d8b9f818b8662dada308e;p=nnn.git Map BS (8) and DEL (127) key codes to SEL_BACK as well --- 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, "", "" },