Przeglądaj źródła

Do not swallow keypress after printwait (#461)

master
Maxim Baz GitHub 5 lat temu
rodzic
commit
099a9af289
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 3 dodań i 5 usunięć
  1. +3
    -5
      src/nnn.c

+ 3
- 5
src/nnn.c Wyświetl plik

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


||||||
x
 
000:0
Ładowanie…
Anuluj
Zapisz