Skip to content

PSAnsiRenderingFileInfo causes display issues with Out-ConsoleGridView #159

@ThomasNieto

Description

@ThomasNieto

Prerequisites

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

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions