mirror of
https://github.com/spectreconsole/spectre.console.git
synced 2026-01-02 01:03:32 +01:00
Handle output to stderr
This commit is contained in:
committed by
Patrik Svensson
parent
9312663bde
commit
a1050fc676
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user