CommandTaskRunner icon indicating copy to clipboard operation
CommandTaskRunner copied to clipboard

Feature request: add colour support in output text

Open simonethreechillies opened this issue 7 years ago • 1 comments

I've created a simple ps1 file containing just one line:

Write-Host "Hello World" -ForegroundColor Red

When the script is executed the text is displayed in the task runner console but in white, rather than in red. Colours are very useful to distinguish the various parts of the output text. Can we please add support to this feature?

Thanks

Simone

simonethreechillies avatar Dec 10 '18 12:12 simonethreechillies

I support the request for color support and support for Unicode emoji would be nice as well.

As a workaround for color support though, you can use the Escape character along with ANSI sequences: https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_special_characters?view=powershell-7#escape-e

dmealo avatar Oct 20 '20 14:10 dmealo