Crate ansi_escapes [] [src]

Structs

Beep

Output a beeping sound.

ClearScreen

Clear the terminal screen.

CursorBackward

Move cursor backward a specific amount of rows.

CursorDown

Move cursor down a specific amount of rows.

CursorForward

Move cursor forward a specific amount of rows.

CursorGetPosition

Get cursor position.

CursorHide

Hide cursor.

CursorLeft

Move cursor to the left side.

CursorNextLine

Move cursor to the next line.

CursorPrevLine

Move cursor to the previous line.

CursorRestorePosition

Restore saved cursor position.

CursorSavePosition

Save cursor position.

CursorShow

Show cursor.

CursorUp

Move cursor up a specific amount of rows.

EraseDown

Erase the screen from the current line down to the bottom of the screen.

EraseEndLine

Erase from the current cursor position to the end of the current line.

EraseLine

Erase the entire current line.

EraseLines

Erase from the current cursor position up the specified amount of rows.

EraseScreen

Erase the screen and move the cursor the top left position.

EraseStartLine

Erase from the current cursor position to the start of the current line.

EraseUp

Erase the screen from the current line up to the top of the screen.

ScrollDown

Scroll display down one line.

ScrollUp

Scroll display up one line.

Enums

CursorMove

Set the position of the cursor relative to its current position.

CursorTo

Set the absolute position of the cursor. x=0 y=0 is the top left of the screen.