Closed lipi closed 2 years ago
👍 Thank you for the clear report. I will have a look!
After a quick investigation. The text is given to the output panel GUI using a vscode.OutputChannel
. And adding the ascii color support to the native output panel has been removed from the vscode roadmap. But you can use for the IBM/output-colorizer extension to add ascii color to the output.
What I can do is: remove the escape codes by default and add a settings option to re-enable them if you use a third-party extension like the IBM one.
I have tried the IBM plugin but it seems to add extra coloring for certain keywords, it does not improve on the original issue.
Oups, my bad :facepalm: I tested the extension really quick and I lost myself. But, we can now remove the escape codes in any case :smile:
It should be now fixed in the new 1.10.0 release
When enabling Unity's coloured_report plugin, which turns pass/fail results green/red, the test explorer's output doesn't handle the control characters:
Expected behaviour: at least it should remove the control characters from the output. Ideally it would colour the output properly.
Note, that VSCode's terminal does handle the colours properly: