Ver código fonte

Do not swallow keypress after printwait (#461)

master
Maxim Baz GitHub 5 anos atrás
pai
commit
099a9af289
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: 4AEE18F83AFDEB23
1 arquivos alterados com 3 adições e 5 exclusões
  1. +3
    -5
      src/nnn.c

+ 3
- 5
src/nnn.c Ver arquivo

@@ -2024,12 +2024,10 @@ static int nextsel(int presel)
//DPRINTF_D(c);
//DPRINTF_S(keyname(c));

/* Clear previous filter when manually starting */
if (c == FILTER)
clearfilter();

if (presel == MSGWAIT)
if (c == ERR && presel == MSGWAIT)
c = (cfg.filtermode) ? FILTER : CONTROL('L');
else if (c == FILTER) /* Clear previous filter when manually starting */
clearfilter();
}

if (c == -1) {


Carregando…
Cancelar
Salvar