Prerequisites
Steps to reproduce
I think this is not a good idea to set $PSStyle.OutputRendering = 'Ansi' by default since esc-sequences can spoil the output to the console or file.
Expected behavior
$PSStyle.OutputRendering = 'Host'
Actual behavior
$PSStyle.OutputRendering = 'Ansi'
Error details
No response
Environment data
This is one more example: `$PSVersionTable | Out-String | Set-Clipboard`
�[38;2;80;80;80mName Value�[0m
�[38;2;80;80;80m---- -----�[0m
PSVersion 7.2.1
PSEdition Core
GitCommitId 7.2.1
OS Linux 5.15.7-arch1-1 #1 SMP PREEMPT Wed, 08 Dec 2021 14:33:16 +0000
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Visuals
No response
Prerequisites
Steps to reproduce
I think this is not a good idea to set
$PSStyle.OutputRendering = 'Ansi'by default since esc-sequences can spoil the output to the console or file.Expected behavior
$PSStyle.OutputRendering = 'Host'Actual behavior
$PSStyle.OutputRendering = 'Ansi'Error details
No response
Environment data
Visuals
No response