소스 검색

Keep lastname directory selected

incase the user just lost access, it would be better to remember the
selected directory to keep it highlighted.
master
0xACE 6 년 전
부모
커밋
d640de2589
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. +3
    -0
      src/nnn.c

+ 3
- 0
src/nnn.c 파일 보기

@@ -3301,6 +3301,9 @@ nochange:
if (access(path, F_OK)) {
DPRINTF_S("dir deleted or moved");

/* Save history */
xstrlcpy(lastname, xbasename(path), NAME_MAX + 1);

xstrlcpy(newpath, path, PATH_MAX);
while (true) {
dir = visit_parent(path, newpath, &presel);


불러오는 중...
취소
저장