Raxol.Core.Buffer
(Raxol v2.3.0)
View Source
Compatibility layer for legacy Raxol.Core.Buffer references.
This module exists to maintain backwards compatibility with plugins that reference the old apps/raxol_core modules.
Maps to Raxol.Terminal.Buffer operations where possible.
Summary
Functions
Clear buffer, resetting all cells to blank
Create blank buffer with lines structure for TerminalBridge compatibility
Get cell at coordinates
Resize buffer to new dimensions
Set cell at coordinates
Convert buffer to string
Write text at coordinates
Types
@type line() :: %{cells: [cell()]}
@type t() :: %{ width: non_neg_integer(), height: non_neg_integer(), lines: [line()], cells: list() }
Functions
Clear buffer, resetting all cells to blank
Create blank buffer with lines structure for TerminalBridge compatibility
Get cell at coordinates
Resize buffer to new dimensions
Set cell at coordinates
Convert buffer to string
Write text at coordinates