Skip to content

ScrollUpToken ​

Namespace: Hex1b.Tokens

Assembly: Hex1b.dll

Represents a CSI Scroll Up (SU) command: ESC [ n S Scrolls the content up by n lines, inserting blank lines at the bottom.

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

Inheritance ​

Object → AnsiToken → ScrollUpToken

Implements ​

Constructors ​

ScrollUpToken(int) ​

Represents a CSI Scroll Up (SU) command: ESC [ n S Scrolls the content up by n lines, inserting blank lines at the bottom.

Parameters:

  • Count (Int32): Number of lines to scroll. Default is 1.
csharp
public ScrollUpToken(int Count = 1)

Properties ​

Count ​

Number of lines to scroll. Default is 1.

Returns: Int32

csharp
public int Count { get; init; }

Released under the MIT License.