Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

long paths truncate file information on output #269

Closed
luc0x61 opened this issue Feb 20, 2025 · 0 comments · Fixed by #270
Closed

long paths truncate file information on output #269

luc0x61 opened this issue Feb 20, 2025 · 0 comments · Fixed by #270

Comments

@luc0x61
Copy link

luc0x61 commented Feb 20, 2025

A very long path to the displayed file can truncate file information on the bottom line.
In my case, I have something like this:
c:\ti\c2000\C2000Ware_5_04_00_00\libraries\diagnostic\f28003x\examples\test_application\include\sta_comm.h
which results in an output like the following:

Image

As a collateral note, I'm using moar as a pager within lf, which in turn lets me navigate to a directory, then invokes the pager with the full path name. If I just were in the parent directory I could have invoked moar sta_comm.h and no truncation would happen.

walles added a commit that referenced this issue Feb 20, 2025
By using `filepath` instead of `path`. `filepath` should work on
Windows.

Fixes #269.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant