Skip to content

TerminalShellIntegrationPhase

Namespace: Hex1b

Assembly: Hex1b.dll

Describes the current phase reported by a shell using OSC 133 markers.

csharp
public enum TerminalShellIntegrationPhase

Fields

CommandLine

The shell is accepting command-line input (marker B).

Returns: TerminalShellIntegrationPhase

csharp
CommandLine = 2

Executing

The shell has reported command execution (marker C).

Returns: TerminalShellIntegrationPhase

csharp
Executing = 3

Finished

The shell has reported command completion (marker D).

Returns: TerminalShellIntegrationPhase

csharp
Finished = 4

Prompt

The shell has started displaying its prompt (marker A).

Returns: TerminalShellIntegrationPhase

csharp
Prompt = 1

Unknown

No shell phase has been reported; this does not imply an idle shell.

Returns: TerminalShellIntegrationPhase

csharp
Unknown = 0

Released under the MIT License.