AnsiConsoleOutput Class

Represents console output.
public sealed class AnsiConsoleOutput : IAnsiConsoleOutput
Namespace
Spectre.Console
Interfaces

Constructors

AnsiConsoleOutput(TextWriter)
Initializes a new instance of the AnsiConsoleOutput class.

Properties

int Height
Gets the output height.
bool IsTerminal
Gets a value indicating whether or not the output is a terminal.
int Width
Gets the output width.
TextWriter Writer
Gets the TextWriter used to write to the output.

Methods

void SetEncoding(Encoding)
Sets the output encoding.