module

Lime::Modules::Cursor

The cursor of the console.

Instance methods

move_down(cells = 1)

Moves the cursor down by cells.

Source
move_left(cells = 1)

Moves the cursor left by cells.

Source
move_right(cells = 1)

Moves the cursor right by cells.

Source
move_up(cells = 1)

Moves the cursor up by cells.

Source
position=(position : Tuple(Int32, Int32))

Sets the position of the cursor to position.

Cursor.position = {5, 5}

# The cursor is now at position 5, 5
Source
visible=(visible : Bool)

Shows or hides the cursor.

Source