WindowOperationToken
Namespace: Hex1b.Tokens
Assembly: Hex1b.dll
Represents an XTWINOPS window operation request: CSI Ps t.
public sealed record WindowOperationToken : AnsiToken, IEquatable<AnsiToken>, IEquatable<WindowOperationToken>Inheritance
Object → AnsiToken → WindowOperationToken
Implements
Constructors
WindowOperationToken(int)
Represents an XTWINOPS window operation request: CSI Ps t.
Parameters:
Operation(Int32): The requested operation code (for example, 14, 16, or 18).
public WindowOperationToken(int Operation)Properties
Operation
The requested operation code (for example, 14, 16, or 18).
Returns: Int32
public int Operation { get; init; }Remarks
Only the read-only report operations relevant to Sixel cell-metrics discovery are recognized here:
14 — report the text area size in pixels; reply CSI 4 ; height ; width t.16 — report the character cell size in pixels; reply CSI 6 ; height ; width t.18 — report the text area size in characters; reply CSI 8 ; rows ; cols t.
Other CSI Ps t operations (window manipulation, iconify, move, etc.) are not modeled by this token and remain . Whether answers this token at all depends on query ownership: see for the shared rule.