By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!Normally, yes. In my test, no.Do you have a color set for stderr output?
I dunno! Both of these work.Ask Microsoft; they handle ANSI in Win 10. Apparently they don't want you to use ANSI for STDERR.
fwprintf(stderr, L"\x01b[31;1mfoo\x01b[0m\n");
WriteConsoleW(GetStdHandle(STD_ERROR_HANDLE), L"\x01b[31;1mfoo\x01b[0m\n", 15, NULL, NULL);