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
1 changed files with 7 additions and 0 deletions

7
nnn.c
View File

@ -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);