PoshCode / Pansies

Powershell ANSI Escape Sequences, functions for colored output, etc.
MIT License
146 stars 14 forks source link

[Question] How to make Pansies full color work in ConEmu #10

Closed Thraka closed 6 years ago

Thraka commented 6 years ago

I can't seem to get Pansies to work in ConEmu and I'm unsure why. I'm using the command [PoshCode.Pansies.RgbColor]::XTermPalette as a test and I can clearly see that the varying shades of color are all the same. I tried looking at what the "behind the scenes" powershell console is displaying and it too is not displaying full color. If I open up a normal powershell terminal, it looks correct.

Do you know if there is something I need to do to ConEmu to get it to work correctly? I figured you may know what system setting (or whatever) I would need to enable to get this working correctly. If not, I'll try over at the ConEmu page.

Thanks!

Thraka commented 6 years ago

Took a long time (I had this issue sitting here but not submitted) but I tracked the problem down to the REAL console behind the ConEmu console.

Thraka commented 6 years ago

Reopening. In tracking this down I verified that the conemu console will display 256 ansi colors via get-content \path-to-conemu\ConEmu\Addons\AnsiColors256.ans but it only displays the normal 16 colors with pansies stuff. I verified it does work fine in normal powershell.

Thraka commented 6 years ago

Verified that conemu fixed a related bug which fixed this one.