TestConsoleExtensions Class
Contains extensions for
TestConsole
.
public static class TestConsoleExtensions
- Namespace
- Spectre
.Console .Testing
Methods
-
static TestConsole Colors
(TestConsole, ColorSystem) - Sets the console's color system.
-
static TestConsole EmitAnsiSequences
(TestConsole) - Turns on emitting of VT/ANSI sequences.
-
static TestConsole Height
(TestConsole, int) - Sets the console height.
-
static TestConsole Interactive
(TestConsole) - Makes the console interactive.
-
static TestConsole Size
(TestConsole, Size) - Sets the console size.
-
static TestConsole SupportsAnsi
(TestConsole, bool) - Sets whether or not ANSI is supported.
-
static TestConsole Width
(TestConsole, int) - Sets the console width.