turbo
cb9be598 - feat: enable vt processing on windows (#7158)

Commit
1 year ago
feat: enable vt processing on windows (#7158) ### Description If we're on windows and are attempting to emit colors, help our users by setting [`ENABLE_VIRTUAL_TERMINAL_PROCESSING`](https://learn.microsoft.com/en-us/windows/console/setconsolemode) which allows ANSI color escape sequences to be respected by the Windows console. This might already be set to true by some users, but it is not enabled by default by Windows. ### Testing Instructions Look at the pretty colors on Windows! ![cmdp](https://github.com/vercel/turbo/assets/4131117/382fa484-03be-4005-9b95-0d4ab7a7aa26) ![pwsh](https://github.com/vercel/turbo/assets/4131117/08175677-1014-4264-b58f-26c991067ec5) (My default powershell colors are horrible and end up making the `docs:build` prefix invisible) ![gitbash](https://github.com/vercel/turbo/assets/4131117/d119347b-7ecd-40e3-9102-c9e3c2e089cc) Closes TURBO-2186 --------- Co-authored-by: Chris Olszewski <Chris Olszewski> Co-authored-by: Mehul Kar <mehul.kar@vercel.com>
Parents
Loading