table2ascii icon indicating copy to clipboard operation
table2ascii copied to clipboard

Using color libraries destroys the table formatting

Open hamsanchez opened this issue 4 months ago • 1 comments

Attempting to use this as a solution to build a table that prints out to the terminal, but we have a requirement that we need color for certain columns. I was using termcolor and colorama to test to see if I could add color to specific values, but when we wrap the text in the needed escape characters we end up destroying the formatting of the table itself, and it becomes confusing and unreadable.

This is with color formatting:

Image

This is without color formatting

Image

hamsanchez avatar Oct 07 '25 19:10 hamsanchez