Represents console output.
Constructors
public AnsiConsoleOutput(TextWriter writer)
Initializes a new instance of the AnsiConsoleOutput class.
Parameters:
writer (TextWriter)The output writer.
Properties
Height
: intGets the output height.
IsTerminal
: boolGets a value indicating whether or not the output is a terminal.
Width
: intGets the output width.
Writer
: TextWriterGets the TextWriter used to write to the output.
Methods
public void SetEncoding(Encoding encoding)
Sets the output encoding.
Parameters:
encoding (Encoding)The encoding.