Open gitmachtl opened 2 years ago
hi @gitmachtl, yes, that's a good idea, we can add both a cli flag and a config option.
just curious, would you mind describing what type of further processing you need on the terminal output?
I'm guessing you're already familiar with the dump
command which just outputs raw json without any kind of formatting.
hi, i am processing the pure terminaloutput (colors removed) in some of my realtime scripts. and the processing with pure bash functions is way faster than doing it on a json format. so i am pretty happy with the terminal output itself, its just the autolinetrim that i always remove to get the full line each time.
Hi,
i always recompile oura to get rid of the line cropping on the terminal sink, because i need the whole output to process it further. So i always end up editing this line
https://github.com/txpipe/oura/blob/0f4c188601541c03aba7b25dfecd8bd81d6da0ed/src/sinks/terminal/format.rs#L347
to like:
let flex_width = 50000;
so would it be possible to make the cut off value configurable via the daemon-config file? or even better a switch, to turn off the line cropping in total?