Replies: 1 comment
-
|
Thank you for your suggestion. It would be possible to do pre-processing using LESS_OPEN like in less, but that can also be done with a shell script, so I'm not very motivated to do that. Instead, I was thinking about implementing a function to execute a filter command after opening the document. Once that is implemented, it will be possible to execute a command like By the way, you can achieve something similar (though not exactly the same) without using unbuffer: ov -F -e eza /usr/ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This is a situation I often run into (I chose a short example for brevity, but it's only annoying with very long output):
I'm playing around with go (although I went the BubbleTea route: https://github.com/visrosa/tasklineUI ). I'm planning on making something to collumnate text, so take the second output and turn it into the first.
It's something that would be useful to have in
ovtoo, in my opinion. If there is interest, I wanna make this so it can easily integrate intoov.I haven't had the chance to really dive into
ov's code yet, so if this is desirable I'd appreciate some pointers on how to design it so it can be easily integrated.As a note in case anyone runs into this from a search:
An easy way to sidestep programs changing output (like stripping colors or formatting) when piped is the
unbuffercommand (expectpackage in Ubuntu):Beta Was this translation helpful? Give feedback.
All reactions