TestimoX

API Reference

Class

ConsoleCapabilities

Namespace TestimoX.Theming
Assembly TestimoX
Implements
IEquatable<ConsoleCapabilities>
Modifiers sealed

Describes terminal features we care about for color/emoji rendering.

Inheritance

  • Object
  • ConsoleCapabilities

Constructors

public ConsoleCapabilities() #

Methods

public ConsoleCapabilities <Clone>$() #
Returns: ConsoleCapabilities
public virtual Boolean Equals(ConsoleCapabilities other) #
Returns: Boolean

Parameters

obj Object requiredposition: 0
public override Int32 GetHashCode() #
Returns: Int32
public override String ToString() #
Returns: String

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.