scoop:scoop.terminal:0.1.0
scoop.terminal.cursor
API
-
object
DisableBlinking
Disables cursor blinking where supported by the terminal.
-
object
EnableBlinking
Enables cursor blinking where supported by the terminal.
-
object
Hide
Requests that the terminal hide its cursor.
-
struct
MoveDown
Moves the cursor down by the supplied count. The ANSI parameter must be in 0..65535; the terminal interprets zero according to its command rules.
-
struct
MoveLeft
Moves the cursor left by the supplied count. The ANSI parameter must be in 0..65535; the terminal interprets zero according to its command rules.
-
struct
MoveRight
Moves the cursor right by the supplied count. The ANSI parameter must be in 0..65535; the terminal interprets zero according to its command rules.
-
struct
MoveTo
Moves to a zero-based column and row. Both coordinates must be in 0..65535; ANSI output converts them to one-based positions.
-
struct
MoveToColumn
Moves to a zero-based column in 0..65535 while retaining the row.
-
struct
MoveToNextLine
Moves the cursor to the start of following lines by the supplied count. The ANSI parameter must be in 0..65535; the terminal interprets zero according to its command rules.
-
struct
MoveToPreviousLine
Moves the cursor to the start of preceding lines by the supplied count. The ANSI parameter must be in 0..65535; the terminal interprets zero according to its command rules.
-
struct
MoveToRow
Moves to a zero-based row in 0..65535 while retaining the column.
-
struct
MoveUp
Moves the cursor up by the supplied count. The ANSI parameter must be in 0..65535; the terminal interprets zero according to its command rules.
-
object
RestorePosition
Restores the cursor from the terminal's saved-position slot.
-
object
SavePosition
Saves the current cursor position using the terminal's saved-position slot.
-
enum
SetCursorStyle
Selects the terminal cursor shape and blinking policy.
-
object
Show
Requests that the terminal show its cursor.