Module crossterm::cursor[][src]

This trait defines the actions that can be preformed with the terminal cursor. This trait can be implemented so that an concrete implementation of the ITerminalCursor can for fill the wishes to work on an specific platform.

For example:

This trait is implemented to work with WINAPI (Windows specific) and ANSI (Unix specific), so that the cursor related actions can be preformed on both unix and windows systems.

Structs

TerminalCursor

Struct that stores an specific platform implementation for cursor related actions.

Traits

ITerminalCursor

This trait defines the actions that can be preformed with the terminal cursor. This trait can be implemented so that an concrete implementation of the ITerminalCursor can forfill the wishes to work on an specific platform.

Functions

cursor

Get an TerminalCursor implementation whereon cursor related actions can be performed.