浏览代码

Fix auto-select for symlink to dir

master
Arun Prakash Jana 5 年前
父节点
当前提交
21f9a713dc
找不到此签名对应的密钥 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;


正在加载...
取消
保存