Raxol.Terminal.Render.UnifiedRenderer (Raxol v0.5.0)
View SourceProvides a unified interface for terminal rendering operations.
Summary
Functions
Returns a specification to start this module under a supervisor.
Cleans up resources.
Renders the current state.
Renders the current state with a specific renderer ID.
Resizes the renderer.
Sets cursor visibility.
Sets the window title.
Starts the renderer.
Updates the renderer configuration with a single argument.
Updates the renderer configuration.
Types
@type t() :: %Raxol.Terminal.Render.UnifiedRenderer{ buffer: Raxol.Terminal.Buffer.t(), cursor_visible: boolean(), screen: Screen.t(), style: Raxol.Terminal.Style.t(), title: String.t() }
Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
@spec cleanup(t()) :: :ok
Cleans up resources.
@spec render(t()) :: :ok
Renders the current state.
Renders the current state with a specific renderer ID.
@spec resize(non_neg_integer(), non_neg_integer()) :: :ok
Resizes the renderer.
@spec set_cursor_visibility(boolean()) :: :ok
Sets cursor visibility.
@spec set_title(String.t()) :: :ok
Sets the window title.
@spec start_link(keyword()) :: GenServer.on_start()
Starts the renderer.
@spec update_config(map()) :: :ok
Updates the renderer configuration with a single argument.
Updates the renderer configuration.