Ver código fonte

Merge pull request #123 from detunized/master

Map BS (8) and DEL (127) key codes to SEL_BACK as well
master
Arun Prakash Jana GitHub 6 anos atrás
pai
commit
54ed5451c0
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: 4AEE18F83AFDEB23
1 arquivos alterados com 2 adições e 0 exclusões
  1. +2
    -0
      nnn.h

+ 2
- 0
nnn.h Ver arquivo

@@ -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, "", "" },


Carregando…
Cancelar
Salvar