Skip to content

SelectionMode

Namespace: Hex1b

Assembly: Hex1b.dll

Specifies how text is selected within a terminal buffer.

csharp
public enum SelectionMode

Fields

Block

Block/rectangular selection: selects a rectangle defined by the anchor and cursor columns across all rows between them.

Returns: SelectionMode

csharp
Block = 2

Character

Character-level selection: selects contiguous characters from anchor to cursor, wrapping across rows.

Returns: SelectionMode

csharp
Character = 0

Line

Line-level selection: selects entire rows from the anchor row to the cursor row.

Returns: SelectionMode

csharp
Line = 1

Released under the MIT License.