From 249836923e0ff305d2a640318ddb180ea52166ed Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Mon, 25 Nov 2019 08:21:14 +0530 Subject: [PATCH] Reduce delay, use a more meaningful msg --- src/nnn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nnn.c b/src/nnn.c index 07a52ce1..37b84530 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;