PSScriptTools icon indicating copy to clipboard operation
PSScriptTools copied to clipboard

ANSI style on powershell 7 when PSStyle is defined

Open jdhitsolutions opened this issue 1 year ago • 0 comments

Discussed in https://github.com/jdhitsolutions/PSScriptTools/discussions/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

jdhitsolutions avatar Apr 04 '24 13:04 jdhitsolutions