From 156c08ccc4fb7f139e6fded44be9071c4adce7ad Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Thu, 22 Jun 2017 18:23:44 +0530 Subject: [PATCH] Show a message when busy --- nnn.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nnn.c b/nnn.c index ae315157..d77bc3f7 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);