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

Long view mode doesn't respect "max name length unset" #245

Closed tkossak closed 11 months ago

tkossak commented 11 months ago

Describe the bug When max name length is unset, file names should be fully visible. It was working properly few versions back (I think in clifm v1.12 - lately I upgraded to v1.13 and it stopped working).

To Reproduce Steps to reproduce the behavior:

  1. Create files: n a01234567890 n a0123456789012345678901234567890

  2. If you have max name length set to 20, unset it. I have shortcut for it: toggle-max-name-len:\C-\M-l

  3. Enter long view mode (again my shortcut is toggle-long:\M-l)

  4. Observe how file names are truncated in long view mode (see screenshot below)

Expected behavior Files names should not be truncated, just as in normal (non long view) mode

Screenshots image

Desktop:

leo-arch commented 11 months ago

Reproduced. Thanks @tkossak!

leo-arch commented 11 months ago

Fixed!

tkossak commented 11 months ago

Works, thank you!