Raxol.Terminal.Cursor.Callbacks (Raxol v2.0.1)

View Source

Handles GenServer callbacks for the cursor manager. Extracted from Raxol.Terminal.Cursor.Manager to reduce file size.

Summary

Functions

Handles GenServer info for blink timer.

Handles GenServer call for getting cursor blink state.

Handles GenServer call for getting cursor position.

Handles GenServer call for getting cursor state.

Handles GenServer call for getting cursor state atom.

Handles GenServer call for getting cursor style.

Handles GenServer call for getting cursor visibility.

Handles GenServer call for moving cursor in a direction.

Handles GenServer call for moving cursor down.

Handles GenServer call for moving cursor left.

Handles GenServer call for moving cursor right.

Handles GenServer call for moving cursor to position.

Handles GenServer call for moving cursor to position with bounds.

Handles GenServer call for moving cursor to bounded position.

Handles GenServer call for moving cursor to column.

Handles GenServer call for moving cursor to column with bounds.

Handles GenServer call for moving cursor up.

Handles GenServer call for resetting cursor position.

Handles GenServer call for setting cursor blink state.

Handles GenServer call for setting custom cursor shape.

Handles GenServer call for setting cursor position.

Handles GenServer call for setting state atom.

Handles GenServer call for setting cursor style.

Handles GenServer call for setting cursor visibility.

Handles GenServer cast for setting cursor visibility.

Handles GenServer call for unknown requests.

Handles GenServer call for updating blink state.

Handles GenServer call for updating cursor position.

Handles GenServer call for updating position from text.

Functions

handle_get_blink(state)

Handles GenServer call for getting cursor blink state.

handle_get_position(state)

Handles GenServer call for getting cursor position.

handle_get_state(state)

Handles GenServer call for getting cursor state.

handle_get_state_atom(state)

Handles GenServer call for getting cursor state atom.

handle_get_style(state)

Handles GenServer call for getting cursor style.

handle_get_visibility(state)

Handles GenServer call for getting cursor visibility.

handle_move_cursor(state, direction, count)

Handles GenServer call for moving cursor in a direction.

handle_move_down(state, count, width, height)

Handles GenServer call for moving cursor down.

handle_move_left(state, cols, width, height)

Handles GenServer call for moving cursor left.

handle_move_right(state, cols, width, height)

Handles GenServer call for moving cursor right.

handle_move_to(state, row, col)

Handles GenServer call for moving cursor to position.

handle_move_to_bounded(state, row, col, width, height)

Handles GenServer call for moving cursor to position with bounds.

handle_move_to_bounded_position(state, row, col, width, height)

Handles GenServer call for moving cursor to bounded position.

handle_move_to_column(state, column)

Handles GenServer call for moving cursor to column.

handle_move_to_column_bounded(state, column, width, height)

Handles GenServer call for moving cursor to column with bounds.

handle_move_up(state, lines, width, height)

Handles GenServer call for moving cursor up.

handle_reset_position(state)

Handles GenServer call for resetting cursor position.

handle_set_blink(state, blink)

Handles GenServer call for setting cursor blink state.

handle_set_custom_shape(state, shape, params)

Handles GenServer call for setting custom cursor shape.

handle_set_position(state, row, col)

Handles GenServer call for setting cursor position.

handle_set_state_atom(state, state_atom)

Handles GenServer call for setting state atom.

handle_set_style(state, style)

Handles GenServer call for setting cursor style.

handle_set_visibility(state, visible)

Handles GenServer call for setting cursor visibility.

handle_set_visibility_cast(state, visible)

Handles GenServer cast for setting cursor visibility.

handle_unknown_request(request, state)

Handles GenServer call for unknown requests.

handle_update_blink(state)

Handles GenServer call for updating blink state.

handle_update_position(state, row, col)

Handles GenServer call for updating cursor position.

handle_update_position_from_text(state, text)

Handles GenServer call for updating position from text.