]> Sergey Matveev's repositories - nnn.git/commitdiff
Show a message when busy
authorArun Prakash Jana <engineerarun@gmail.com>
Thu, 22 Jun 2017 12:53:44 +0000 (18:23 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Thu, 22 Jun 2017 12:53:44 +0000 (18:23 +0530)
nnn.c

diff --git a/nnn.c b/nnn.c
index ae3151576c0a8daf8a059c3f54a9463320802bdf..d77bc3f751306b8e8a811e6e22baf655b1469b09 100644 (file)
--- 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);