Handle output to stderr

This commit is contained in:
Bastian Eicher
2021-02-12 10:57:37 +01:00
committed by Patrik Svensson
parent 9312663bde
commit a1050fc676
4 changed files with 21 additions and 4 deletions

View File

@@ -73,7 +73,7 @@ namespace Spectre.Console
}
// Need to update the output encoding for stdout?
if (_out.IsStandardOut())
if (_out.IsStandardOut() || _out.IsStandardError())
{
System.Console.OutputEncoding = value;
}