Raxol.Terminal.Buffer.ScrollbackManager (Raxol v0.5.0)
View SourceManages scrollback buffer for the terminal emulator.
Summary
Functions
Adds a line to the scrollback buffer.
Returns a specification to start this module under a supervisor.
Clears the scrollback buffer.
Gets a range of lines from the scrollback buffer.
Gets the current number of scrollback lines.
Creates a new scrollback manager.
Starts the scrollback manager process.
Types
@type t() :: %Raxol.Terminal.Buffer.ScrollbackManager{ current_lines: non_neg_integer(), limit: non_neg_integer(), lines: [[Raxol.Terminal.Buffer.Cell.t()]], max_lines: non_neg_integer() }
Functions
Adds a line to the scrollback buffer.
Returns a specification to start this module under a supervisor.
See Supervisor
.
Clears the scrollback buffer.
Gets a range of lines from the scrollback buffer.
Gets the current number of scrollback lines.
@spec new() :: t()
Creates a new scrollback manager.
Starts the scrollback manager process.