From: Arun Prakash Jana Date: Thu, 22 Jun 2017 12:53:44 +0000 (+0530) Subject: Show a message when busy X-Git-Tag: v1.2~5 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=156c08ccc4fb7f139e6fded44be9071c4adce7ad;p=nnn.git Show a message when busy --- diff --git a/nnn.c b/nnn.c index ae315157..d77bc3f7 100644 --- a/nnn.c +++ b/nnn.c @@ -1624,6 +1624,13 @@ populate(char *path, char *oldpath, char *fltr) if (setfilter(&re, fltr) != 0) return -1; + if (cfg.blkorder) { + timeout(0); + printmsg("Calculating..."); + getch(); + timeout(1000); + } + ndents = dentfill(path, &dents, visible, &re); qsort(dents, ndents, sizeof(*dents), entrycmp);