Class TerminalColorCapabilities
Describes the color capabilities of the terminal as detected from environment variables.
public record TerminalColorCapabilities : IEquatable<TerminalColorCapabilities>
- Inheritance
-
TerminalColorCapabilities
- Implements
- Inherited Members
Constructors
Properties
- Capability
Gets the detected color capability level.
- ColorTerm
Gets the value of the
COLORTERMenvironment variable, if set.
- IsWindowsTerminal
Gets whether the terminal is Windows Terminal (detected via the
WT_SESSIONenvironment variable).
- Term
Gets the value of the
TERMenvironment variable, if set.
- TermProgram
Gets the value of the
TERM_PROGRAMenvironment variable, if set.