AnsiConsoleExtensions Class
Contains extension methods for
IAnsiConsole
.
public static class AnsiConsoleExtensions
- Namespace
- Spectre
.Console .Advanced
Methods
-
static string ToAnsi
(IAnsiConsole, IRenderable) -
Gets the VT/ANSI control code sequence for a
IRenderable
. -
static void WriteAnsi
(IAnsiConsole, string) - Writes a VT/Ansi control code sequence to the console (if supported).