Sfoglia il codice sorgente

Do not swallow keypress after printwait (#461)

master
Maxim Baz GitHub 5 anni fa
parent
commit
099a9af289
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 4AEE18F83AFDEB23
1 ha cambiato i file con 3 aggiunte e 5 eliminazioni
  1. +3
    -5
      src/nnn.c

+ 3
- 5
src/nnn.c Vedi File

@@ -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) {


Loading…
Annulla
Salva