namespace Spectre.Console;
///
/// Represents (read-only) console capabilities.
///
public interface IReadOnlyCapabilities
{
///
/// Gets the color system.
///
ColorSystem ColorSystem { get; }
///
/// Gets a value indicating whether or not
/// the console supports VT/ANSI control codes.
///
bool Ansi { get; }
///
/// Gets a value indicating whether or not
/// the console support links.
///
bool Links { get; }
///
/// Gets a value indicating whether or not
/// this is a legacy console (cmd.exe) on an OS
/// prior to Windows 10.
///
///
/// Only relevant when running on Microsoft Windows.
///
bool Legacy { get; }
///
/// Gets a value indicating whether or not
/// console output has been redirected.
///
[Obsolete("Use Profile.Out.IsTerminal instead")]
bool IsTerminal { get; }
///
/// Gets a value indicating whether
/// or not the console supports interaction.
///
bool Interactive { get; }
///
/// Gets a value indicating whether
/// or not the console supports Unicode.
///
bool Unicode { get; }
}