mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Reduce delay, use a more meaningful msg
This commit is contained in:
parent
e4ffe35892
commit
249836923e
|
@ -485,7 +485,7 @@ static const char * const messages[] = {
|
||||||
"entry exists",
|
"entry exists",
|
||||||
"too few columns!",
|
"too few columns!",
|
||||||
"'s'shfs / 'r'clone?",
|
"'s'shfs / 'r'clone?",
|
||||||
"rclone mount may take a while"
|
"may take a while, try refresh"
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Supported configuration environment variables */
|
/* Supported configuration environment variables */
|
||||||
|
@ -3320,7 +3320,7 @@ static bool remote_mount(char *newpath, int *presel)
|
||||||
} else {
|
} else {
|
||||||
spawn(env, tmp, newpath, NULL, flag);
|
spawn(env, tmp, newpath, NULL, flag);
|
||||||
printmsg(messages[MSG_RCLONE_DELAY]);
|
printmsg(messages[MSG_RCLONE_DELAY]);
|
||||||
xdelay(XDELAY_INTERVAL_MS * 10);
|
xdelay(XDELAY_INTERVAL_MS << 2); /* Set 4 times the usual delay */
|
||||||
}
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in a new issue