Raxol.Terminal.Buffer.Manager (Raxol v0.5.0)

View Source

Manages terminal buffer operations and state.

Summary

Types

t()

@type t() :: %Raxol.Terminal.Buffer.Manager{
  buffer: Raxol.Terminal.Buffer.Manager.BufferImpl.t(),
  cursor_position: {non_neg_integer(), non_neg_integer()} | nil,
  damage_tracker: term(),
  lock: :ets.tid(),
  memory_manager: term(),
  metrics: term(),
  renderer: term(),
  scrollback_manager: term()
}

Functions

atomic_operation(pid, operation)

Performs an atomic operation on the buffer. This ensures thread safety for concurrent operations.

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

clear()

default_tab_stops(manager)

get_active_buffer(state)

get_attributes()

get_cursor()

get_icon_name()

get_icon_title()

get_line(y)

get_mode()

get_size()

get_title()

set_attributes(attributes)

set_cursor(cursor)

set_cursor(manager, arg)

set_icon_name(icon_name)

set_line(y, line)

set_mode(mode)

set_title(title)

start_link(opts \\ [])