]> Sergey Matveev's repositories - nnn.git/commitdiff
Reduce delay, use a more meaningful msg
authorArun Prakash Jana <engineerarun@gmail.com>
Mon, 25 Nov 2019 02:51:14 +0000 (08:21 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Mon, 25 Nov 2019 02:51:14 +0000 (08:21 +0530)
src/nnn.c

index 07a52ce15b8e249d7b30deeb0032063a49d1e5d3..37b845306605c1603988ef00cd757a7d2f16c0f3 100644 (file)
--- 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;