-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[#1487] ensure background color is preserved #1865
Conversation
clang-format fixes needed but also #1867 probably needed. |
ea30cad
to
b93d585
Compare
Sorry, I need to get myself setup locally with clang-tidy so I don't put pressure on these actions prematurely |
i do have it set up locally and i still get it wrong. it's fine, it's what the actions are there for. |
b93d585
to
7fe76d7
Compare
a3cace4
to
8d673da
Compare
i'm struggling to see the difference... is it one more space on the second one? |
Yes, I'm struggling to get clang-format-lint to be happy. |
took a closer look. on that line above there's an extra space after the | |
…or of the terminal on windows is preserved
06239b0
to
9fde32c
Compare
thank you! |
As raised in issue 1487, the color of the background on Windows was assumed to be black. This means that when printing results in, for example, green, you ended up with green on black regardless of the original background color.
This update retains the background colors when printing.
This naturally raises another topic of, does the output color want to be determined by the background color when printing? I.e we would now end up printing green text on a green background if that were the case. Maybe this can be captured in another request if it's desirable.