Ticket #3959 (new enhancement)
Opened 6 years ago
Display "NNN files and MMM folders selected out of TTT total files and YYY total folders"
Reported by: | soriposforumsgmail | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | Future Releases |
Component: | mc-core | Version: | master |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
Dear guys,
I would like to see this feature in mc, to be displayed at the bottom of each panel (similar to how it's implemented in TotalCmd?):
"NNN files and MMM folders selected out of TTT total files and YYY total folders"
If the terminal width is too low, the following alternative format could be used:
"NNN/TTT files, MMM/YYY folders"
As an optional bonus, the selected and total sizes should also be displayed (for the moment ignoring the sizes of folders, but just summing the sizes of files), such as:
"NNN files (XX MiB) and MMM folders selected out of TTT total files (ZZ MiB) and YYY total folders"
Or in the alternate format:
"NNN (XX MiB) / TTT (ZZ MiB) files, MMM/YYY folders"
The units for sizes should be configurable in the Options, to choose between these 3 options: "Full", "Binary units", "SI units"
An additional option could also be provided: Whether to follow symlinks when computing sizes, or to ignore symlinks. (the default being to ignore symlinks)
I might try to work myself to implement this feature, but I wanted to first log it into Trac, so I can refer to it in the pull-request.