ToAnsi(IAnsiConsole, IRenderable) Method
Gets the VT/ANSI control code sequence for a
IRenderable
.
public static string ToAnsi(this IAnsiConsole console, IRenderable renderable)
- Namespace
- Spectre
.Console .Advanced - Containing Type
- Ansi
Console Extensions
Parameters
- IAnsiConsole console
- The console.
- IRenderable renderable
- The renderable to the VT/ANSI control code sequence for.
Returns
- string