Skip to content
ConsoleMonster
Enum

TerminalKind

ConsoleMonster.Capabilities

Namespace
ConsoleMonster.Capabilities
Assembly
ConsoleMonster
Base
Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers
sealed

The terminal or host that was detected. Informational; decisions are carried by TerminalProfile.

Inheritance

  • Enum
  • TerminalKind

Usage

Explore 16 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 1

Values

public const TerminalKind Unknown #

Not identified.

Value: 0
public const TerminalKind WindowsTerminal #

Windows Terminal (WT_SESSION).

Value: 1
public const TerminalKind Conhost #

The classic Windows console host.

Value: 2
public const TerminalKind VisualStudioCode #

The Visual Studio Code integrated terminal.

Value: 3
public const TerminalKind Xterm #

An xterm-compatible terminal identified through TERM/TERM_PROGRAM.

Value: 4
public const TerminalKind PowerShellIse #

The PowerShell ISE, which is not a console.

Value: 5
public const TerminalKind Redirected #

Output is redirected to a file, pipe or log.

Value: 6
public const TerminalKind ITerm2 #

iTerm2 (TERM_PROGRAM=iTerm.app).

Value: 7
public const TerminalKind WezTerm #

WezTerm (TERM_PROGRAM=WezTerm).

Value: 8
public const TerminalKind Vte #

A VTE-based terminal, including GNOME Terminal (VTE_VERSION).

Value: 9
public const TerminalKind Konsole #

KDE Konsole (KONSOLE_VERSION).

Value: 10
public const TerminalKind Kitty #

Kitty (TERM=xterm-kitty or KITTY_WINDOW_ID).

Value: 11
public const TerminalKind Ghostty #

Ghostty (TERM_PROGRAM=ghostty or TERM=xterm-ghostty).

Value: 12
public const TerminalKind AppleTerminal #

macOS Terminal.app (TERM_PROGRAM=Apple_Terminal), which has no OSC 8 links.

Value: 13