Prerequisites
Steps to reproduce
This is a regression from 7.2.6 and only happens:
- on Windows (not on macOS; haven't tried on Linux)
- in regular console windows (
conhost.exe), not in Windows Terminal
- with input from external programs
Expected behavior
foo should print with f highlighted, to indicate what part of the line matched.
Actual behavior
That is, the VT escape sequences are mistakenly rendered as verbatim characters.
Error details
No response
Environment data
PowerShell Core 7.3.0-preview.8 on Windows 10 21H2, Windows 11 22H2
Visuals
No response