소스 검색

Pin current path on archive/remote mount

master
Arun Prakash Jana 4 년 전
부모
커밋
56b96cbf74
No known key found for this signature in database GPG 키 ID: A75979F35C080412
1개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  1. +8
    -0
      src/nnn.c

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

@@ -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);


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