Raxol.Terminal.Cursor.CursorState (Raxol v2.0.1)
View SourceHandles cursor state management operations for the terminal cursor. Extracted from Raxol.Terminal.Cursor.Manager to reduce file size.
Summary
Functions
Adds the current cursor state to history.
Gets the cursor margins.
Gets the cursor state atom (:visible, :hidden, :blinking).
Resets the cursor state to default values.
Restores cursor state from history.
Restores the saved cursor position.
Restores the saved cursor state.
Saves the current cursor position.
Saves the current cursor state.
Sets a custom cursor shape.
Sets the cursor margins.
Sets the cursor state based on a state atom. Supported states: :visible, :hidden, :blinking
Updates the cursor blink state.
Updates cursor position based on text input.
Functions
Adds the current cursor state to history.
Gets the cursor margins.
Gets the cursor state atom (:visible, :hidden, :blinking).
Resets the cursor state to default values.
Restores cursor state from history.
Restores the saved cursor position.
Restores the saved cursor state.
Saves the current cursor position.
Saves the current cursor state.
Sets a custom cursor shape.
Sets the cursor margins.
Sets the cursor state based on a state atom. Supported states: :visible, :hidden, :blinking
Updates the cursor blink state.
Updates cursor position based on text input.