Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support string colors #16

Open
aprilnovak opened this issue Feb 27, 2023 · 0 comments
Open

Support string colors #16

aprilnovak opened this issue Feb 27, 2023 · 0 comments

Comments

@aprilnovak
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant