Skip to content

ANSI style on powershell 7 when PSStyle is defined #147

@jdhitsolutions

Description

@jdhitsolutions

Discussed in #146

Originally posted by cderv April 4, 2024
Hi,

I wanted the -ansi to work with Show-Tree but I understand the $PSAnsiMap is not loaded because I have some $PSStyle defined - not sure if this is something I loaded or default in Windows Terminal.

My understanding is that $PSAnsiMap is not loaded to no conflict, but it seems -ansi doesn't use PSStyle.

Is there any way to have the coloring works for functions that supports it ?

thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions