Manages terminal split windows and panes.
Each split can optionally be bound to a ConcurrentBuffer pid and a
TerminalProcess pid, enabling the cockpit to map panes to live
terminal buffers.
Summary
Functions
Binds a ConcurrentBuffer and optional TerminalProcess to a split.
Returns a specification to start this module under a supervisor.
Creates a new split with the given options.
Gets the buffer pid bound to a split.
Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_cast/2.
Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_info/2.
Lists all splits.
Navigates to an existing split.
Removes a split by id.
Resizes an existing split.
Sets a label on a split (for display in pane headers).
Unbinds the buffer from a split.
Types
Functions
Binds a ConcurrentBuffer and optional TerminalProcess to a split.
Returns a specification to start this module under a supervisor.
See Supervisor.
Creates a new split with the given options.
Gets the buffer pid bound to a split.
Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_cast/2.
Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_info/2.
Lists all splits.
Removes a split by id.
@spec resize_split(integer(), %{width: integer(), height: integer()}, pid()) :: {:ok, t()} | {:error, :not_found}
Resizes an existing split.
Sets a label on a split (for display in pane headers).
Unbinds the buffer from a split.