Procházet zdrojové kódy

Pin current path on archive/remote mount

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

+ 8
- 0
src/nnn.c Zobrazit soubor

@@ -5737,6 +5737,10 @@ nochange:
goto nochange;
}

/* Pin current directory */
free(mark);
mark = xstrdup(path);

cdprep(lastdir, lastname, path, newpath)
? (presel = FILTER) : (watch = TRUE);
goto begin;
@@ -5827,6 +5831,10 @@ nochange:
goto nochange;
}

/* Pin current directory */
free(mark);
mark = xstrdup(path);

/* In list mode, retain the last file name to highlight it, if possible */
cdprep(lastdir, listpath && sel == SEL_CDLAST ? NULL : lastname, path, newpath)
? (presel = FILTER) : (watch = TRUE);


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