[][src]Crate crossterm_cursor

Modules

sys

Macros

execute

Execute one or more command(s)

queue

Queue one or more command(s) for execution in the near future.

Structs

BlinkOff

When executed, this command will disable cursor blinking.

BlinkOn

When executed, this command will enable cursor blinking.

Down

When executed, this command will move the current cursor position n times down.

Goto

When executed, this command will move the cursor position to the given x and y in the terminal window.

Hide

When executed, this command will hide de cursor in the console.

Left

When executed, this command will move the current cursor position n times left.

Output

When executed, this command will output the given string to the terminal.

ResetPos

When executed, this command will return the cursor position to the saved cursor position

Right

When executed, this command will move the current cursor position n times right.

SavePos

When executed, this command will save the cursor position for recall later.

Show

When executed, this command will show de cursor in the console.

TerminalCursor

Allows you to preform actions with the terminal cursor.

Up

When executed, this command will move the current cursor position n times up.

Enums

ErrorKind

Wrapper for all errors that can occur in crossterm.

Traits

Command

A command is an action that can be performed on the terminal.

ExecutableCommand

A trait that defines behaviour for a command that will be executed immediately.

QueueableCommand

A trait that defines behaviour for a command that can be used to be executed at a later time point. This can be used in order to get more performance.

Functions

cursor

Get a TerminalCursor instance whereon cursor related actions can be performed.

Type Definitions

Result

The crossterm result type.