Skip to content

Fix windows VT output support

Mitch C requested to merge MitchC/highlight:fix_winvt_console_enabling_pr into master

0x200 was the wrong code that is ENABLE_VIRTUAL_TERMINAL_INPUT I can't imagine that would be desired, but if so it would need to be on STDIN as well I believe. I am guessing this was supposed to be ENABLE_VIRTUAL_TERMINAL_PROCESSING so we can output ansi colors. Some windows terminals just have VT codes enabled by default so it might not have been noticed.

Merge request reports

Loading