leo-arch / clifm

The shell-like, command line terminal file manager: simple, fast, extensible, and lightweight as hell.
https://github.com/leo-arch/clifm/wiki
GNU General Public License v2.0
1.29k stars 41 forks source link

MinFilenameTrim is not applied in long view mode #236

Closed deathtrip closed 12 months ago

deathtrip commented 1 year ago

Describe the bug Filenames are trimmed to the same length in long view mode as in normal mode, ignoring MinFilenameTrim setting.

To Reproduce Steps to reproduce the behavior:

  1. Set MinFilenameTrim higher then MaxFilenameLen
  2. enter long view mode
  3. filenames are still trimmed to the MaxFilenameLen value

Expected behavior MinFilenameTrim should override MaxFilenameLen in long view mode as per documentation.

Desktop:

leo-arch commented 1 year ago

Thanks for pointing this out @deathtrip. Should be solved now.

leo-arch commented 1 year ago

Hey @deathtrip, did you give it a try? Is it working as expected?

deathtrip commented 12 months ago

Yes! Working as expected. Gonna close this one.