Skip to content

RepeatCharacterToken ​

Namespace: Hex1b.Tokens

Assembly: Hex1b.dll

Represents a CSI Repeat (REP) command: ESC [ n b Repeats the previous graphic character n times.

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

Inheritance ​

Object → AnsiToken → RepeatCharacterToken

Implements ​

Constructors ​

RepeatCharacterToken(int) ​

Represents a CSI Repeat (REP) command: ESC [ n b Repeats the previous graphic character n times.

Parameters:

  • Count (Int32): Number of times to repeat. Default is 1.
csharp
public RepeatCharacterToken(int Count = 1)

Properties ​

Count ​

Number of times to repeat. Default is 1.

Returns: Int32

csharp
public int Count { get; init; }

Released under the MIT License.