aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-11-25 08:21:14 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-11-25 08:21:14 +0530
commit249836923e0ff305d2a640318ddb180ea52166ed (patch)
tree5a39da28b1209c264efb5ed3ad928239e8f38ceb
parente4ffe35892e094d361e9238a50880d78472f4ebc (diff)
downloadnnn-249836923e0ff305d2a640318ddb180ea52166ed.tar.gz
Reduce delay, use a more meaningful msg
-rw-r--r--src/nnn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 07a52ce..37b8453 100644
--- a/src/nnn.c
+++ b/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;