tableformatter
tableformatter copied to clipboard
Text with ANSI color codes may not survive wrapping
If text for a cell contains ANSI color or formatting codes that, after wrapping, spans a line break, the codes aren't copied over to each line of the cell.
@lancestarr Thanks for reporting this issue Lance. If you would like to submit a PR, that would be greatly appreciated.
Some users may be able to work around this issue by colorizing rows. You can do that when building your list of rows, or—if you're doing the object iteration approach—you can use a row tagger (see formatters.py for an example of this).
Feel free to comment on this to clarify what I'm trying to say. I'm new to tableformatter and there may be better ways to express this suggestion.