mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 13:51:31 +00:00
Show number of entries in detailed view
This commit is contained in:
parent
c78e3bf14f
commit
3c94193992
|
@ -44,7 +44,7 @@ I chose to fork noice because:
|
||||||
### Fork toppings
|
### Fork toppings
|
||||||
|
|
||||||
- Behaviour and navigation
|
- Behaviour and navigation
|
||||||
- Optional detail view with file type and size (default: disabled)
|
- Detail view with file type, size and number of entries in dir (default: disabled)
|
||||||
- Case-insensitive alphabetic content listing instead of upper case first
|
- Case-insensitive alphabetic content listing instead of upper case first
|
||||||
- Roll over at the first and last entries of a directory (with Up/Down keys)
|
- Roll over at the first and last entries of a directory (with Up/Down keys)
|
||||||
- Sort entries by file size (largest to smallest)
|
- Sort entries by file size (largest to smallest)
|
||||||
|
|
5
noice.c
5
noice.c
|
@ -616,6 +616,11 @@ redraw(char *path)
|
||||||
for (i = cur - nlines; i < cur + nlines + odd; i++)
|
for (i = cur - nlines; i < cur + nlines + odd; i++)
|
||||||
printptr(&dents[i], i == cur);
|
printptr(&dents[i], i == cur);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (showdetail) {
|
||||||
|
sprintf(cwd, "%d items", ndents);
|
||||||
|
printmsg(cwd);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in a new issue