Raxol.Terminal.Cursor.Movement (Raxol v2.0.1)
View SourceHandles cursor movement operations for the terminal cursor. Extracted from Raxol.Terminal.Cursor.Manager to reduce file size.
Summary
Functions
Constrains the cursor position to within the specified bounds.
Moves the cursor down by the specified number of lines.
Moves the cursor to the home position (0, 0).
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 with bounds clamping.
Moves the cursor to the specified column.
Moves the cursor to the specified column with bounds clamping.
Moves the cursor to the specified line.
Moves the cursor to the end of the line.
Moves the cursor to the beginning of the line.
Moves the cursor to the next tab stop.
Moves the cursor to the previous tab stop.
Moves the cursor up by the specified number of lines.
Functions
@spec constrain_position( Raxol.Terminal.Cursor.Manager.t(), non_neg_integer(), non_neg_integer() ) :: Raxol.Terminal.Cursor.Manager.t()
Constrains the cursor position to within the specified bounds.
Moves the cursor down by the specified number of lines.
Moves the cursor to the home position (0, 0).
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 with bounds clamping.
Moves the cursor to the specified column.
@spec move_to_column( Raxol.Terminal.Cursor.Manager.t(), non_neg_integer(), non_neg_integer(), non_neg_integer() ) :: Raxol.Terminal.Cursor.Manager.t()
Moves the cursor to the specified column with bounds clamping.
Moves the cursor to the specified line.
Moves the cursor to the end of the line.
Moves the cursor to the beginning of the line.
Moves the cursor to the next tab stop.
Moves the cursor to the previous tab stop.
Moves the cursor up by the specified number of lines.