mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 13:51:31 +00:00
Show a message when busy
This commit is contained in:
parent
cd030f6b13
commit
156c08ccc4
7
nnn.c
7
nnn.c
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue