using System.Text;
using Spectre.Console.Rendering;
namespace Spectre.Console
{
///
/// Represents a console.
///
public interface IAnsiConsole
{
///
/// Gets the console's capabilities.
///
Capabilities Capabilities { get; }
///
/// Gets the console output encoding.
///
Encoding Encoding { get; }
///
/// Gets the buffer width of the console.
///
int Width { get; }
///
/// Gets the buffer height of the console.
///
int Height { get; }
///
/// Writes a string followed by a line terminator to the console.
///
/// The segment to write.
void Write(Segment segment);
}
}