commit 156c08ccc4fb7f139e6fded44be9071c4adce7ad
parent cd030f6b13c03e6503bca33f2e737dd3d4c0f540
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Thu, 22 Jun 2017 18:23:44 +0530
Show a message when busy
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git 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);