aboutsummaryrefslogtreecommitdiffstats
path: root/nnn.c
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2017-06-22 18:23:44 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2017-06-22 18:23:44 +0530
commit156c08ccc4fb7f139e6fded44be9071c4adce7ad (patch)
tree9457880ff8b6e086413781b0f2e82650ce6fbe0d /nnn.c
parentcd030f6b13c03e6503bca33f2e737dd3d4c0f540 (diff)
downloadnnn-156c08ccc4fb7f139e6fded44be9071c4adce7ad.tar.gz
Show a message when busy
Diffstat (limited to 'nnn.c')
-rw-r--r--nnn.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/nnn.c b/nnn.c
index ae31515..d77bc3f 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);