Closed youngnix closed 8 months ago
You mean something like less -S
?
Yes, but maybe more interactive. Maybe just allowing the user to toggle between truncating and wrapping lines on demand would suffice.
I was under the impression that that was intentionally a non-feature. It adds a lot of code-complexity to have to maintain a horizontally scrolling viewport. Even just truncating the line seems like it will have a lot of unintended consequences to work around.
If someone is interested in looking into it the section of code that wraps the line is at view.c#L239
+1 to @rnpnr arguments, I would vote for WONTFIX here.
Is it possible to disable line wrapping somehow? I've read the wiki and man pages but couldn't find much about this specifically. If not possible, consider this a feature request.