瀏覽代碼

Fix picker and list mode conflict (#533)

* Fix picker and list mode conflict

* Comment the change
master
KlzXS GitHub 5 年之前
父節點
當前提交
7b7252dd32
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 4 行新增0 行删除
  1. +4
    -0
      src/nnn.c

+ 4
- 0
src/nnn.c 查看文件

@@ -6827,6 +6827,10 @@ int main(int argc, char *argv[])
}
}

/* Prevent picker and list mode conflict */
if (!isatty(STDIN_FILENO) || !isatty(STDOUT_FILENO))
exit(1);

home = getenv("HOME");
if (!home) {
fprintf(stderr, "set HOME\n");


Loading…
取消
儲存