namespace Terminal.Gui;
///
/// Interface for writing console output
///
public interface IConsoleOutput : IDisposable
{
///
/// Writes the given text directly to the console. Use to send
/// ansi escape codes etc. Regular screen output should use the
/// overload.
///
///
void Write (string text);
///
/// Write the contents of the to the console
///
///
void Write (IOutputBuffer buffer);
///
/// Returns the current size of the console window in rows/columns (i.e.
/// of characters not pixels).
///
///
public Size GetWindowSize ();
///
/// Updates the console cursor (the blinking underscore) to be hidden,
/// visible etc.
///
///
void SetCursorVisibility (CursorVisibility visibility);
///
/// Moves the console cursor to the given location.
///
///
///
void SetCursorPosition (int col, int row);
}