Skip to content

ScrollbackWidth

Namespace: Hex1b.Automation

Assembly: Hex1b.dll

Controls how scrollback line widths are adapted when included in a snapshot.

csharp
public enum ScrollbackWidth

Fields

CurrentTerminal

Truncate or pad scrollback lines to match the current terminal width. This produces a uniform snapshot where all lines (visible + scrollback) are the same width, which is simpler for pattern matching and assertions.

Returns: ScrollbackWidth

csharp
CurrentTerminal = 0

Original

Return scrollback lines at their original width when they were captured. Lines in the buffer may be wider or narrower than the current viewport. Useful when you need to see the full original content.

Returns: ScrollbackWidth

csharp
Original = 1

Released under the MIT License.