Ansi color glitch in adjacent cell
davsclaus opened this issue · comments
Hi
Many thanks for this great table printer.
Just in case you want to see what we have been up to of late with Apache Camel, then we have a panel in the middle with 2 columns. When using ansi color then the 2nd panel will start out of position.
I think you have been aware of this and its tricky to solve. But just wanted to show you a real world use of this great util.
Ah sorry I remember you added Styler in #23 - let me try that, thanks
I made my own hacky table but the solution for me, was to specify the cell length - so I could dictate the length from the raw string (no ansi codes), and this allows me to render the cells correctly.
I am not sure if there is a way to make Style know a length for each cell / data.
Thanks for the update, looks great!
Could you create a minimal test case that reproduces the issue?
Yes I will try to get this done later - I am a bit busy but ping me in a few weeks if I haven't provide a test case
@davsclaus ping :)
sorry I wont find time for this, and my use-case is a special-case so lets just close this ticket