Skip to content

TerminalProgress ​

Namespace: Hex1b

Assembly: Hex1b.dll

Contains the current progress indicator reported by a terminal workload.

csharp
public sealed record TerminalProgress : IEquatable<TerminalProgress>

Inheritance ​

Object → TerminalProgress

Implements ​

Properties ​

Percentage ​

Gets the reported percentage from 0 to 100, or null for hidden or indeterminate progress.

Returns: Nullable<Int32>

csharp
public int? Percentage { get; }

State ​

Gets the reported progress indicator state.

Returns: TerminalProgressState

csharp
public TerminalProgressState State { get; }

Remarks ​

Progress is independent of shell integration and terminal-process lifetime. No progress is inferred from output, and process exit does not clear it.

Released under the MIT License.