Add colorized failure message for Windows 10.#8
Add colorized failure message for Windows 10.#8rjframe wants to merge 1 commit intorejectedsoftware:masterfrom rjframe:windows-color-failures
Conversation
|
Thanks, good to know that the same escape codes are now possible on Windows! Shouldn't |
|
Unless the application is manifested for Windows 8.1 or Windows 10[1], [1]: The manifest is an XML file included as a resource in the EXE. [2]: https://msdn.microsoft.com/en-us/library/windows/desktop/ms724451(v=vs.85).aspx?f=255&MSPPError=-2147217396 - "Instead, use the Version Helper functions" |
Both
cmd.exeandpowershell.exesupport colorized text formatting on Windows 10; Anyone choosing to use the legacy cmd.exe would see the control character output rather than the colors, though.I use the registry to check the Windows major version because the API functions (
VerifyVersionInfo, etc.):