New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show-Result -Text dialog should retain the colors of the host of session that launched the dialog. #566

Closed
AdamNaj opened this Issue Jan 15, 2016 · 1 comment

Comments

Projects
None yet
1 participant
@AdamNaj
Member

AdamNaj commented Jan 15, 2016

Running he following script:

$Host.UI.RawUI.BackgroundColor = ($bckgrnd = 'DarkRed')
$Host.UI.RawUI.ForegroundColor = 'Cyan'
$Host.PrivateData.WarningForegroundColor = 'Magenta'
$Host.PrivateData.WarningBackgroundColor = "Green"
$Host.PrivateData.VerboseForegroundColor = 'Green'
$Host.PrivateData.VerboseBackgroundColor = "Red"
Write-Host    "                    Write-Host                  "
Write-Verbose "                    Write-Verbose               " -Verbose
Write-Warning "                    Write-Warning                 "
Show-Result -Text -Width 500 -Height 300

Will display the Results Dialog as follows:
image

@AdamNaj AdamNaj self-assigned this Jan 15, 2016

@AdamNaj AdamNaj added this to the 4.0 milestone Jan 15, 2016

AdamNaj added a commit that referenced this issue Jan 15, 2016

@AdamNaj

This comment has been minimized.

Member

AdamNaj commented Jan 15, 2016

Implemented

@AdamNaj AdamNaj closed this Jan 15, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment