diff options
| author | 2017-03-30 02:45:46 +0530 | |
|---|---|---|
| committer | 2017-03-30 02:45:46 +0530 | |
| commit | 3c941939926e4545c2a50bfa74ee45e67a04962a (patch) | |
| tree | e6305caeb0ce191dc209cb15e4b0ae9c1aa8f719 | |
| parent | c78e3bf14f0105234d52a8a0f1fc0548309949da (diff) | |
| download | nnn-3c941939926e4545c2a50bfa74ee45e67a04962a.tar.gz | |
Show number of entries in detailed view
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | noice.c | 5 |
2 files changed, 6 insertions, 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) @@ -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 |