Skip to content

TerminalShellIntegration

Namespace: Hex1b

Assembly: Hex1b.dll

Contains the current shell phase and latest reported command result.

csharp
public sealed record TerminalShellIntegration : IEquatable<TerminalShellIntegration>

Inheritance

ObjectTerminalShellIntegration

Implements

Properties

LastExitCode

Gets the latest exit code reported by marker D, or null when no result was reported.

Returns: Nullable<Int32>

csharp
public int? LastExitCode { get; }

Phase

Gets the latest phase reported by the shell.

Returns: TerminalShellIntegrationPhase

csharp
public TerminalShellIntegrationPhase Phase { get; }

Remarks

This is current state, not command history or the terminal process's lifecycle. Markers can arrive out of order; missing markers are not synthesized.

Released under the MIT License.