namespace Spectre.Console; /// /// Represents console output. /// public interface IAnsiConsoleOutput { /// /// Gets the used to write to the output. /// TextWriter Writer { get; } /// /// Gets a value indicating whether or not the output is a terminal. /// bool IsTerminal { get; } /// /// Gets the output width. /// int Width { get; } /// /// Gets the output height. /// int Height { get; } /// /// Sets the output encoding. /// /// The encoding. void SetEncoding(Encoding encoding); }