variadic_table icon indicating copy to clipboard operation
variadic_table copied to clipboard

Support string colors

Open aprilnovak opened this issue 2 years ago • 0 comments

I'd like to highlight some std::string cells in the VariadicTable with colors. For the lines I want to highlight, I'm doing

COLOR_YELLOW << "stuff" << COLOR_DEFAULT

and for all other lines, I'm doing

COLOR_DEFAULT << "stuff" << COLOR_DEFAULT

It seems like the logic for deciding the length of the horizontal bars is not consistent with the cell widths, because the table looks like the following.

Screen Shot 2023-02-23 at 4 57 42 PM

aprilnovak avatar Feb 27 '23 16:02 aprilnovak