-
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
[windows] Terminal background colour #1487
Comments
could you create a pull request for this? |
I'm not very familiar with git pull request. But my attempt: #1488 |
Taking a look |
To confirm why this is happening (PR incoming) the issue can be captured like so: In a blue background console, the 5th bit is lost at the point the green message is written. There are #defines (C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\consoleapi2.h) for all the colours supported, so can be done without any magic numbers. |
yeah i think we just assume the background colour is black and reset to that instead of reading the current bg colour. |
That's just what I wrote 2 years ago. So much for being a Member of Google. |
i'm not sure i understand what point you're trying to make, but it's reflecting more poorly on you than on me. as you are still active on github, did you want to finish the PR you started but never finished two years ago? |
…or of the terminal on windows is preserved
…or of the terminal on windows is preserved
…or of the terminal on windows is preserved
…or of the terminal on windows is preserved
…or of the terminal on windows is preserved
…the terminal on windows is preserved (#1865) Co-authored-by: dominic <510002+dmah42@users.noreply.github.com>
fixed by #1865 |
Hello folks, my first issue.
The function
ColorPrintf()
ass-u-mes that all users of this library have terminals with a black background colour.I.e. using it in Microsoft's STL library and the
benchmark-std_copy.exe
program, the output like like this:Not very nice IMHO.
With my blue terminal background I'd like it to look like:
which I fixed with:
PS. I use JPsoft's 4NT as the shell.
System
The text was updated successfully, but these errors were encountered: