Przeglądaj źródła

Pin dir when visitng target file in find and list

master
Arun Prakash Jana 4 lat temu
rodzic
commit
6fa4978230
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: A75979F35C080412
1 zmienionych plików z 4 dodań i 0 usunięć
  1. +4
    -0
      src/nnn.c

+ 4
- 0
src/nnn.c Wyświetl plik

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

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

cdprep(lastdir, NULL, path, newpath)
? (presel = FILTER) : (watch = TRUE);
xstrsncpy(lastname, pdents[cur].name, NAME_MAX + 1);


Ładowanie…
Anuluj
Zapisz