diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2019-02-08 02:02:09 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2019-02-08 02:02:09 +0530 |
commit | c07efcacc0f25391529a539138832948eccc8bf1 (patch) | |
tree | 3beb28af2f0d760b52cafce000c33c67a758b471 /src | |
parent | ee49249b69be4fe093d22d6ce35f81647ed7bae7 (diff) | |
download | nnn-c07efcacc0f25391529a539138832948eccc8bf1.tar.gz |
More informative feedback on du
Diffstat (limited to 'src')
-rw-r--r-- | src/nnn.c | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -2558,6 +2558,8 @@ static int dentfill(char *path, struct entry **dents) ent_blocks = 0; mkpath(path, namep, g_buf); + mvprintw(LINES - 1, 0, "scanning %s\n", xbasename(g_buf)); + refresh(); if (nftw(g_buf, nftw_fn, open_max, FTW_MOUNT | FTW_PHYS) == -1) { printmsg(messages[STR_NFTWFAIL_ID]); @@ -2632,6 +2634,8 @@ static int dentfill(char *path, struct entry **dents) num_saved = num_files + 1; mkpath(path, namep, g_buf); + mvprintw(LINES - 1, 0, "scanning %s\n", xbasename(g_buf)); + refresh(); if (nftw(g_buf, nftw_fn, open_max, FTW_MOUNT | FTW_PHYS) == -1) { printmsg(messages[STR_NFTWFAIL_ID]); dentp->blocks = (cfg.apparentsz ? sb.st_size : sb.st_blocks); @@ -2695,11 +2699,6 @@ static int dentfind(const char *fname, int n) static void populate(char *path, char *lastname) { - if (cfg.blkorder) { - printmsg("calculating..."); - refresh(); - } - #ifdef DEBUGMODE struct timespec ts1, ts2; |