You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ConEmu build: 180528 x64
OS version: Windows 10 x64
Used shell version: PowerShell 5
Problem description
After testing bug #1569 I found that this bug is fixed, but the truecolor doesn't seem to exist on the console until after something "turns it on" but I'm not sure what. If I run (Get-Gradient -StartColor 70 -EndColor 75 -Width 10) to output a color gradient (from the Pansies module) it is not in truecolor. If I run some sort of ansi sequence though, truecolor is suddenly working. This code seems to enable it:
Write-Output'�[9999S�[9999;1H'
Statements
If I Get-Content on the 256 ansi color file that ships with ConEmu, truecolor is suddenly enabled.
If at anytime I call Clear-Host, truecolor is reset back to 16 colors.
Steps to reproduce
Install the Pansies module
Install-Module Pansies -AllowClobber
Run (Get-Gradient -StartColor 70 -EndColor 75 -Width 10) and you'll see that truecolor is not working.
Run an ansi sequence and you'll see that truecolor is working:
Versions
ConEmu build: 180528 x64
OS version: Windows 10 x64
Used shell version: PowerShell 5
Problem description
After testing bug #1569 I found that this bug is fixed, but the truecolor doesn't seem to exist on the console until after something "turns it on" but I'm not sure what. If I run
(Get-Gradient -StartColor 70 -EndColor 75 -Width 10)
to output a color gradient (from the Pansies module) it is not in truecolor. If I run some sort of ansi sequence though, truecolor is suddenly working. This code seems to enable it:Statements
Get-Content
on the 256 ansi color file that ships with ConEmu, truecolor is suddenly enabled.Clear-Host
, truecolor is reset back to 16 colors.Steps to reproduce
Install the Pansies module
Run
(Get-Gradient -StartColor 70 -EndColor 75 -Width 10)
and you'll see that truecolor is not working.Run an ansi sequence and you'll see that truecolor is working:
You'll see that the output of Pansies displays true color.
Run the following
You'll see that the true color is gone
Actual results
Truecolor is only enabled when something outputs ansi codes, and is disabled when Clear-Host is called.
Expected results
Truecolor is enabled from the start.
The text was updated successfully, but these errors were encountered: