-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Closed
Copy link
Labels
Needs-TriageThe issue is new and needs to be triaged by a work group.The issue is new and needs to be triaged by a work group.Resolution-ExternalThe issue is caused by external component(s).The issue is caused by external component(s).
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest released version
- Search the existing issues.
- Refer to the FAQ.
- Refer to Differences between Windows PowerShell 5.1 and PowerShell.
Steps to reproduce
As discussed in #18771, which was inappropriately closed, as well as in #19101 (comment):
Note:
- Applies to
conhost.exewindows (regular console windows on Windows) only.
cmd /c ver | Select-String MicrosoftExpected behavior
Microsoft Windows [Version 10.0.22621.1413]... with the word Microsoft highlighted
Actual behavior
←[7mMicrosoft←[0m Windows [Version 10.0.22621.1413]That is, the ANSI escape sequences meant to highlight the matching part of the line aren't rendered as such.
Error details
No response
Environment data
PowerShell 7.4.0-preview.2 on WindowsVisuals
No response
Metadata
Metadata
Assignees
Labels
Needs-TriageThe issue is new and needs to be triaged by a work group.The issue is new and needs to be triaged by a work group.Resolution-ExternalThe issue is caused by external component(s).The issue is caused by external component(s).