瀏覽代碼

Pin current path on archive/remote mount

master
Arun Prakash Jana 4 年之前
父節點
當前提交
56b96cbf74
沒有發現已知的金鑰在資料庫的簽署中 GPG Key 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);


Loading…
取消
儲存