Raxol.Terminal.Buffer.Operations (Raxol v2.0.1)
View SourceCompatibility adapter for consolidated buffer operations. Forwards calls to Raxol.Terminal.ScreenBuffer.Operations.
Summary
Functions
Clears a line.
Clears a rectangular region.
Clears to beginning of line.
Clears to beginning of screen.
Clears to end of line.
Clears to end of screen.
Copies a region to another location.
Deletes a character at the cursor position.
Deletes a line.
Deletes multiple lines (compatibility function).
Fills a region with a character.
Inserts a character at the cursor position.
Inserts a blank line.
Inserts multiple lines (compatibility function).
Writes a character at the specified position.
Writes text starting at the specified position.
Functions
@spec clear_line(term(), non_neg_integer()) :: term()
Clears a line.
@spec clear_region( term(), non_neg_integer(), non_neg_integer(), non_neg_integer(), non_neg_integer() ) :: term()
Clears a rectangular region.
Clears to beginning of line.
Clears to beginning of screen.
Clears to end of line.
Clears to end of screen.
@spec copy_region( term(), non_neg_integer(), non_neg_integer(), non_neg_integer(), non_neg_integer(), non_neg_integer(), non_neg_integer() ) :: term()
Copies a region to another location.
Deletes a character at the cursor position.
@spec delete_line(term(), non_neg_integer()) :: term()
Deletes a line.
Deletes multiple lines (compatibility function).
@spec fill_region( term(), non_neg_integer(), non_neg_integer(), non_neg_integer(), non_neg_integer(), String.t(), map() | nil ) :: term()
Fills a region with a character.
Inserts a character at the cursor position.
@spec insert_line(term(), non_neg_integer()) :: term()
Inserts a blank line.
Inserts multiple lines (compatibility function).
@spec write_char( term(), non_neg_integer(), non_neg_integer(), String.t(), map() | nil ) :: term()
Writes a character at the specified position.
@spec write_text( term(), non_neg_integer(), non_neg_integer(), String.t(), map() | nil ) :: term()
Writes text starting at the specified position.