4 ms·
I always liked the Console API where you can set the color of the text without actually changing the text that is written to Stdout. No issues when piping the o
by hoppelhase 8y ago
I always liked the Console API where you can set the color of the text without actually changing the text that is written to Stdout. No issues when piping the output somewhere else. No need to check whether the output is getting piped.
- zadjii 8y agoThat'll work just the same as it always has :) Existing commandline applications won't be affected by this feature, but it will open the doors for an entirely new class of applications.
- hoppelhase 8y agoThe existing Console API won't be extended with features of VT codes, or will it?
- zadjii 8y agoOh we added support for VT sequences in commandline apps years ago - case in point, WSL. see [this docs page](https://docs.microsoft.com/en-us/windows/console/console-virtual-terminal-sequences https://docs.microsoft.com/en-us/windows/console/console-vir...) for a (surprisingly incomplete) list of VT sequences we support, and how to use them.