Procházet zdrojové kódy

Handle some keys as special only if filter is empty

master
Arun Prakash Jana před 4 roky
rodič
revize
feb1d2fc27
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: A75979F35C080412
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. +3
    -3
      src/nnn.c

+ 3
- 3
src/nnn.c Zobrazit soubor

@@ -2085,12 +2085,12 @@ static int filterentries(char *path)
switch (*ch) {
case '/': /* works as Leader key in filter mode */
*ch = CONTROL('_'); // fallthrough
case ':':
case ';':
if (len == 1)
cur = oldcur;
goto end;
case '?': /* '?' is an invalid regex, show help instead */
case ':': // fallthrough /* Run plugin keys */
case ';': // fallthrough
case '?': /* Help and config key, '?' is an invalid regex */
if (len == 1) {
cur = oldcur;
goto end;


Načítá se…
Zrušit
Uložit