PSAnsiRenderingFileInfo causes display issues with Out-ConsoleGridView
ThomasNieto opened this issue · 3 comments
ThomasNieto commented
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
Filesystem provider output with PSAnsiRenderingFileInfo
experiential feature enabled causes ANSI codes to be displayed when piped to Out-ConsoleGridView
.
Expected behavior
No ANSI codes are displayed in `Out-ConsoleGridView`
Actual behavior
Name property has ANSI codes in Out-ConsoleGridView
Error details
No response
Environment data
Name Value
---- -----
PSVersion 7.3.0-preview.4
PSEdition Core
GitCommitId 7.3.0-preview.4
OS Microsoft Windows 10.0.19043
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Name Version Prerelease Repository Description
---- ------- ---------- ---------- -----------
Microsoft.PowerShell.ConsoleGuiTools 0.6.2.0 PSGallery Cross-platform Console Gui Tools for PowerShell
Visuals
vexx32 commented
Wouldn't this be an issue for Out-ConsoleGridView itself to sort out? It looks like it does manual escaping of escape sequences to render them verbatim that it should perhaps not be doing in this instance?
daxian-dbw commented
@SteveL-MSFT Can you move this issue to the console utility module repository?
SteveL-MSFT commented
This was fixed by #158