瀏覽代碼

Reduce delay, use a more meaningful msg

master
Arun Prakash Jana 5 年之前
父節點
當前提交
249836923e
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: A75979F35C080412
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      src/nnn.c

+ 2
- 2
src/nnn.c 查看文件

@@ -485,7 +485,7 @@ static const char * const messages[] = {
"entry exists",
"too few columns!",
"'s'shfs / 'r'clone?",
"rclone mount may take a while"
"may take a while, try refresh"
};

/* Supported configuration environment variables */
@@ -3320,7 +3320,7 @@ static bool remote_mount(char *newpath, int *presel)
} else {
spawn(env, tmp, newpath, NULL, flag);
printmsg(messages[MSG_RCLONE_DELAY]);
xdelay(XDELAY_INTERVAL_MS * 10);
xdelay(XDELAY_INTERVAL_MS << 2); /* Set 4 times the usual delay */
}

return TRUE;


Loading…
取消
儲存