Module crossterm::cursor

source ·
Expand description

A module that contains all the actions related to cursor movement in the terminal. Like: moving the cursor position; saving and resetting the cursor position; hiding showing and control the blinking of the cursor.

Note that positions of the cursor are 0 -based witch means that the coordinates (cells) starts counting from 0

Structs

Struct that stores a platform-specific implementation for cursor related actions.

Functions

Get a TerminalCursor instance whereon cursor related actions can be performed.
Get a TerminalCursor instance whereon cursor related actions can be performed. Pass the reference to any Screen you want this type to perform actions on.