IReadOnlyCapabilities Interface

Represents (read-only) console capabilities.
public interface IReadOnlyCapabilities
Namespace
Spectre.Console
Implementing Types

Properties

abstract bool Ansi
Gets a value indicating whether or not the console supports VT/ANSI control codes.
abstract ColorSystem ColorSystem
Gets the color system.
abstract bool Interactive
Gets a value indicating whether or not the console supports interaction.
abstract bool IsTerminal
Gets a value indicating whether or not console output has been redirected.
abstract bool Legacy
Gets a value indicating whether or not this is a legacy console (cmd.exe) on an OS prior to Windows 10.
abstract bool Links
Gets a value indicating whether or not the console support links.
abstract bool Unicode
Gets a value indicating whether or not the console supports Unicode.