mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-11-03 18:25:26 +08:00
committed by
Phil Scott
parent
ca036f6543
commit
13ac38ed04
@@ -21,7 +21,7 @@ namespace Spectre.Console.Testing
|
||||
IAnsiConsoleInput IAnsiConsole.Input => Input;
|
||||
|
||||
public FakeAnsiConsole(
|
||||
ColorSystem system,
|
||||
ColorSystem colors,
|
||||
AnsiSupport ansi = AnsiSupport.Yes,
|
||||
int width = 80)
|
||||
{
|
||||
@@ -32,7 +32,7 @@ namespace Spectre.Console.Testing
|
||||
_console = factory.Create(new AnsiConsoleSettings
|
||||
{
|
||||
Ansi = ansi,
|
||||
ColorSystem = (ColorSystemSupport)system,
|
||||
ColorSystem = (ColorSystemSupport)colors,
|
||||
Out = _writer,
|
||||
Enrichment = new ProfileEnrichment
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user