consoleur.cursor.posix

Consoleur: a package for interaction with character-oriented terminal emulators

Members

Functions

getCursorPosition
Point getCursorPosition()
hideCursor
bool hideCursor()

Hides cursor

moveCursorDown
void moveCursorDown(int n = 1)

Moves cursor down by n rows

moveCursorLeft
void moveCursorLeft(int n = 1)

Moves cursor left by n columns

moveCursorRight
void moveCursorRight(int n = 1)

Moves cursor right by n columns

moveCursorTo
void moveCursorTo(Point dest)

Moves cursor to desired position

moveCursorUp
void moveCursorUp(int n = 1)

Moves cursor up by n rows

restoreCursorPosition
bool restoreCursorPosition()

Restores previously saved cursor positon

saveCursorPosition
bool saveCursorPosition()

Saves current cursor position

showCursor
bool showCursor()

Shows cursor

Meta

Authors

Maxim Freck <maxim@freck.pp.ru>