浏览代码

Pin current path on archive/remote mount

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


||||||
x
 
000:0
正在加载...
取消
保存