Pārlūkot izejas kodu

Do not swallow keypress after printwait (#461)

master
Maxim Baz GitHub pirms 5 gadiem
vecāks
revīzija
099a9af289
Šim parakstam datu bāzē netika atrasta zināma atslēga GPG atslēgas ID: 4AEE18F83AFDEB23
1 mainītis faili ar 3 papildinājumiem un 5 dzēšanām
  1. +3
    -5
      src/nnn.c

+ 3
- 5
src/nnn.c Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt