Color (wrongly) disabled in VSCode test results output
When running some test cases from VS Code (under windows) testing panel. The output in the Test results panel do not display colors.
The global variable `NoColor` is set to true because both `isatty.IsTerminal` and `isatty.IsCygwinTerminal` return false.
While forcing `NoColor` to false the color text are printed correctly. So it seems there is an incorrect terminal capabilities detection in this case.
Inversely this is working properly in VS Code terminal view which use a PowerShell behind.
Is there any possibility to update terminal capabilities detection ?
1 条评论