namespace Spectre.Console; /// /// Represents a console. /// public interface IAnsiConsole { /// /// Gets the console profile. /// Profile Profile { get; } /// /// Gets the console cursor. /// IAnsiConsoleCursor Cursor { get; } /// /// Gets the console input. /// IAnsiConsoleInput Input { get; } /// /// Gets the exclusivity mode. /// IExclusivityMode ExclusivityMode { get; } /// /// Gets the render pipeline. /// RenderPipeline Pipeline { get; } /// /// Clears the console. /// /// If the cursor should be moved to the home position. void Clear(bool home); /// /// Writes a to the console. /// /// The to write. void Write(IRenderable renderable); }