This repository was archived by the owner on Dec 13, 2020. It is now read-only.
This repository was archived by the owner on Dec 13, 2020. It is now read-only.
Automatically detect ANSI color support in new Windows conhost. #18
Closed
Description
http://www.nivot.org/blog/post/2016/02/04/Windows-10-TH2-%28v1511%29-Console-Host-Enhancements
https://msdn.microsoft.com/en-us/library/ms683167.aspx
https://msdn.microsoft.com/en-us/library/mt638032.aspx
Looks like (compared to archive.org) ENABLE_VIRTUAL_TERMINAL_PROCESSING (0x0004) was recently added to GetConsoleMode (and set). Perhaps I can use this to determine if stdout/stderr streams should not be replaced on Windows, instead of having users of colorclass figure it out themselves?
Metadata
Metadata
Assignees
Labels
No labels