mirror of
https://github.com/jarun/nnn.git
synced 2025-02-26 03:01:32 +00:00
Show number of entries in detailed view
This commit is contained in:
parent
c78e3bf14f
commit
3c94193992
2 changed files with 6 additions and 1 deletions
|
@ -44,7 +44,7 @@ I chose to fork noice because:
|
|||
### Fork toppings
|
||||
|
||||
- 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
|
||||
- Roll over at the first and last entries of a directory (with Up/Down keys)
|
||||
- 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++)
|
||||
printptr(&dents[i], i == cur);
|
||||
}
|
||||
|
||||
if (showdetail) {
|
||||
sprintf(cwd, "%d items", ndents);
|
||||
printmsg(cwd);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Reference in a new issue