Skip to content

DecscaToken ​

Namespace: Hex1b.Tokens

Assembly: Hex1b.dll

Token for DECSCA (Select Character Protection Attribute): CSI Ps " q

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

Inheritance ​

Object → AnsiToken → DecscaToken

Implements ​

Constructors ​

DecscaToken(int) ​

Token for DECSCA (Select Character Protection Attribute): CSI Ps " q

Parameters:

  • Mode (Int32): The protection mode: 0/2 = off, 1 = on.
csharp
public DecscaToken(int Mode)

Properties ​

Mode ​

The protection mode: 0/2 = off, 1 = on.

Returns: Int32

csharp
public int Mode { get; init; }

Remarks ​

Controls whether subsequently printed characters are protected from selective erase operations (DECSED/DECSEL).

= 0 or 2: Unprotected (default) = 1: Protected

Released under the MIT License.