Skip to content

CursorShape ​

Namespace: Hex1b

Assembly: Hex1b.dll

Specifies the shape of the terminal cursor.

csharp
public enum CursorShape

Fields ​

BlinkingBar ​

Blinking bar cursor (│).

Returns: CursorShape

csharp
BlinkingBar = 5

BlinkingBlock ​

Blinking block cursor (▓).

Returns: CursorShape

csharp
BlinkingBlock = 1

BlinkingUnderline ​

Blinking underline cursor (_).

Returns: CursorShape

csharp
BlinkingUnderline = 3

Default ​

Use the terminal's default cursor shape.

Returns: CursorShape

csharp
Default = 0

SteadyBar ​

Steady bar cursor (│).

Returns: CursorShape

csharp
SteadyBar = 6

SteadyBlock ​

Steady block cursor (█).

Returns: CursorShape

csharp
SteadyBlock = 2

SteadyUnderline ​

Steady underline cursor (_).

Returns: CursorShape

csharp
SteadyUnderline = 4

Released under the MIT License.