Skip to content

CursorRowToken ​

Namespace: Hex1b.Tokens

Assembly: Hex1b.dll

Represents a CSI Vertical Position Absolute (VPA) command: ESC [ n d

csharp
public sealed record CursorRowToken : AnsiToken, IEquatable<AnsiToken>, IEquatable<CursorRowToken>

Inheritance ​

Object → AnsiToken → CursorRowToken

Implements ​

Constructors ​

CursorRowToken(int) ​

Represents a CSI Vertical Position Absolute (VPA) command: ESC [ n d

Parameters:

  • Row (Int32): 1-based row number. Default is 1.
csharp
public CursorRowToken(int Row = 1)

Properties ​

Row ​

1-based row number. Default is 1.

Returns: Int32

csharp
public int Row { get; init; }

Remarks ​

Moves the cursor to row n in the current column. Also known as Line Position Absolute (LPA).

Released under the MIT License.