Use PlainText when writing to a host that doesn't support VT (#16092)

This commit is contained in:
Dongbo Wang
2021-09-15 11:13:17 -07:00
committed by Aditya Patwardhan
parent 0e79e596e4
commit 6532f0d775
@@ -234,7 +234,7 @@ namespace System.Management.Automation.Host
private static bool ShouldOutputPlainText(bool isHost, bool? supportsVirtualTerminal)
{
var outputRendering = OutputRendering.Ansi;
var outputRendering = OutputRendering.PlainText;
if (supportsVirtualTerminal != false)
{