mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Add verbosity
This commit is contained in:
parent
b23878847e
commit
9b2966772c
|
@ -2564,7 +2564,7 @@ static int dentfill(char *path, struct entry **dents)
|
||||||
ent_blocks = 0;
|
ent_blocks = 0;
|
||||||
mkpath(path, namep, g_buf);
|
mkpath(path, namep, g_buf);
|
||||||
|
|
||||||
mvprintw(LINES - 1, 0, "scanning %s\n", xbasename(g_buf));
|
mvprintw(LINES - 1, 0, "scanning %s [^C aborts]\n", xbasename(g_buf));
|
||||||
refresh();
|
refresh();
|
||||||
if (nftw(g_buf, nftw_fn, open_max,
|
if (nftw(g_buf, nftw_fn, open_max,
|
||||||
FTW_MOUNT | FTW_PHYS) == -1) {
|
FTW_MOUNT | FTW_PHYS) == -1) {
|
||||||
|
@ -2643,7 +2643,7 @@ static int dentfill(char *path, struct entry **dents)
|
||||||
num_saved = num_files + 1;
|
num_saved = num_files + 1;
|
||||||
mkpath(path, namep, g_buf);
|
mkpath(path, namep, g_buf);
|
||||||
|
|
||||||
mvprintw(LINES - 1, 0, "scanning %s\n", xbasename(g_buf));
|
mvprintw(LINES - 1, 0, "scanning %s [^C aborts]\n", xbasename(g_buf));
|
||||||
refresh();
|
refresh();
|
||||||
if (nftw(g_buf, nftw_fn, open_max, FTW_MOUNT | FTW_PHYS) == -1) {
|
if (nftw(g_buf, nftw_fn, open_max, FTW_MOUNT | FTW_PHYS) == -1) {
|
||||||
printmsg(messages[STR_NFTWFAIL_ID]);
|
printmsg(messages[STR_NFTWFAIL_ID]);
|
||||||
|
|
Loading…
Reference in a new issue