Show a message when busy

This commit is contained in:
Arun Prakash Jana 2017-06-22 18:23:44 +05:30
parent cd030f6b13
commit 156c08ccc4
No known key found for this signature in database
GPG key ID: A75979F35C080412

7
nnn.c
View file

@ -1624,6 +1624,13 @@ populate(char *path, char *oldpath, char *fltr)
if (setfilter(&re, fltr) != 0) if (setfilter(&re, fltr) != 0)
return -1; return -1;
if (cfg.blkorder) {
timeout(0);
printmsg("Calculating...");
getch();
timeout(1000);
}
ndents = dentfill(path, &dents, visible, &re); ndents = dentfill(path, &dents, visible, &re);
qsort(dents, ndents, sizeof(*dents), entrycmp); qsort(dents, ndents, sizeof(*dents), entrycmp);