microsoft / microsoft/vscode-cmake-tools
ANSI escape code are garbled
- Dominant language
- TypeScript
- Stars
- 1.7k
- Forks
- 546
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 32
Description
### Brief Issue Summary
Excuse me, when I finish running the test and look at the test at the test results, I get a broken ANSI sequence, but when I use cout to output in the terminal, I can get to a correct ANSI sequence, so I'm pretty sure that the terminal used by VSCode supports it, can this be solved?
### CMake Tools Diagnostics
_No response_
### Debug Log
_No response_
### Additional Information
1. My cpp source code:

2. The output at test results:

3. The output at test terminal:
- This is the output at cmd

- This is the output at powershell

Contributor guide
Research direction
Reproduce the issue by running the reported C++ test through CMake Tools and compare its test-results output with the cmd and PowerShell terminal output shown in the issue. Trace how ANSI sequences are displayed in the CMake Tools test results, and consider the issue done when the test-results view renders the same ANSI output correctly without breaking terminal behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, cpp, typescript, vscode
- Domain
- developer-experience, testing-qa, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100