Table of Contents

Method MoveCursorByOffset

Namespace
Terminal.Gui.Views
Assembly
Terminal.Gui.dll

MoveCursorByOffset(int, int, bool, ICommandContext?)

Moves the cursor by the provided offsets. Optionally starting a box selection (see MultiSelect).

public bool MoveCursorByOffset(int offsetX, int offsetY, bool extendExistingSelection, ICommandContext? ctx)

Parameters

offsetX int

Offset in number of columns

offsetY int

Offset in number of rows

extendExistingSelection bool

True to create a multi cell selection or adjust an existing one

ctx ICommandContext

The command context.

Returns

bool