Show number of entries in detailed view

This commit is contained in:
Arun Prakash Jana 2017-03-30 02:45:46 +05:30
parent c78e3bf14f
commit 3c94193992
No known key found for this signature in database
GPG key ID: A75979F35C080412
2 changed files with 6 additions and 1 deletions

View file

@ -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)

View file

@ -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