Selaa lähdekoodia

Retain filter on keys up and down

master
Arun Prakash Jana 5 vuotta sitten
vanhempi
commit
450df4c476
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      src/nnn.c

+ 1
- 1
src/nnn.c Näytä tiedosto

@@ -2127,7 +2127,7 @@ static int filterentries(char *path)
}
}
end:
if (*ch != '\t')
if (*ch != '\t' && *ch != KEY_UP && *ch != KEY_DOWN)
g_ctx[cfg.curctx].c_fltr[0] = g_ctx[cfg.curctx].c_fltr[1] = '\0';

move_cursor(cur, 0);


Loading…
Peruuta
Tallenna