Raxol.Terminal.Emulator.Cursor (Raxol v0.4.0)

View Source

Handles cursor operations for the terminal emulator.

Summary

Functions

Hides the cursor.

Moves the cursor down by the specified number of lines.

Moves the cursor left by the specified number of columns.

Moves the cursor right by the specified number of columns.

Moves the cursor to a specific position.

Moves the cursor up by the specified number of lines.

Restores the previously saved cursor state.

Saves the current cursor state.

Sets the cursor style.

Shows the cursor.

Functions

hide(emulator)

Hides the cursor.

move_down(emulator, lines)

Moves the cursor down by the specified number of lines.

move_left(emulator, cols)

Moves the cursor left by the specified number of columns.

move_right(emulator, cols)

Moves the cursor right by the specified number of columns.

move_to(emulator, row, col)

Moves the cursor to a specific position.

move_up(emulator, lines)

Moves the cursor up by the specified number of lines.

restore_state(emulator)

Restores the previously saved cursor state.

save_state(emulator)

Saves the current cursor state.

set_style(emulator, style)

Sets the cursor style.

show(emulator)

Shows the cursor.