Table of Contents

Struct TerminalReport

Namespace
Retro.Crt
Assembly
Retro.Crt.dll

Snapshot of the capability flags Retro.Crt detected on this process. Useful for "why don't I see colors" support questions — log this once at startup and the answer is usually obvious.

public readonly record struct TerminalReport : IEquatable<TerminalReport>
Implements
Inherited Members

Constructors

TerminalReport()

public TerminalReport()

Properties

ColorDepth

public ColorDepth ColorDepth { get; init; }

Property Value

ColorDepth

ColorTermEnv

public string? ColorTermEnv { get; init; }

Property Value

string

ForceColorSet

public bool ForceColorSet { get; init; }

Property Value

bool

IsErrorRedirected

public bool IsErrorRedirected { get; init; }

Property Value

bool

IsInteractive

public bool IsInteractive { get; init; }

Property Value

bool

IsOutputRedirected

public bool IsOutputRedirected { get; init; }

Property Value

bool

NoColorSet

public bool NoColorSet { get; init; }

Property Value

bool

OperatingSystem

public string OperatingSystem { get; init; }

Property Value

string

OutputCodePage

public int OutputCodePage { get; init; }

Property Value

int

OutputEncoding

public string OutputEncoding { get; init; }

Property Value

string

SupportsAnsi

public bool SupportsAnsi { get; init; }

Property Value

bool

SupportsUnicode

public bool SupportsUnicode { get; init; }

Property Value

bool

TermEnv

public string? TermEnv { get; init; }

Property Value

string

Methods

ToString()

One-line dense summary, friendly for log output.

public override string ToString()

Returns

string