Respect dircounts when sorting by size (#668) (#2025)

* Respect `dircounts` when sorting by size

* Avoid mixing file sizes and counts when sorting by size

* Update documentation for sorting
This commit is contained in:
CatsDeservePets authored and GitHub committed 2025-07-19 13:01:37 +10:00
1 parent e5c2cc44d8
commit 4758ef621c
4 files changed
+22 -4

No files matched your search

+1
View File
@@ -759,6 +759,7 @@ This option only has an effect when `info` has a `size` field and the pane is wi
## dirfirst (bool) (default true)
Show directories first above regular files.
With `dircounts` enabled, sorting by `size` always separates directories and files, regardless of `dirfirst`.
## dironly (bool) (default false)