소스 검색

Fix auto-select for symlink to dir

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

+ 1
- 1
src/nnn.c 파일 보기

@@ -2134,7 +2134,7 @@ static int filterentries(char *path)

/* If the only match is a dir, auto-select and cd into it */
if (ndents == 1 && cfg.filtermode
&& cfg.autoselect && S_ISDIR(dents[0].mode)) {
&& cfg.autoselect && (dents[0].flags & DIR_OR_LINK_TO_DIR)) {
*ch = KEY_ENTER;
cur = 0;
goto end;


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