Skip to content
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
@Robpol86

Description

@Robpol86

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions