API Reference
Class
ConsoleCapabilities
Describes terminal features we care about for color/emoji rendering.
Inheritance
- Object
- ConsoleCapabilities
Constructors
public ConsoleCapabilities() #Methods
Inherited Methods
Properties
public Boolean SupportsAnsi { get; set; } #True when ANSI escape sequences are expected to render correctly.
public Boolean SupportsUnicode { get; set; } #True when the console can render Unicode characters reliably.
public Boolean SupportsEmoji { get; set; } #True when emoji glyphs are likely to render (UTF-8 code page and non-legacy host).
public Boolean IsWindows { get; set; } #True when running on Windows.
public Boolean IsServer2016OrEarlier { get; set; } #True when host is Windows Server 2016 / build 1607 or earlier (legacy VT behavior).
public ConsoleColorTone BackgroundTone { get; set; } #Detected background tone classification (dark/light/dark-blue).
public ColorSystem ColorSystem { get; set; } #Detected Spectre color system capability (e.g., Standard/TrueColor).
public Encoding Encoding { get; set; } #Encoding in use for console output; typically UTF-8 when we force it.