Raxol.Terminal.Render.RenderServer (Raxol v2.0.1)
View SourceProvides a unified interface for terminal rendering operations.
Summary
Functions
Returns a specification to start this module under a supervisor.
Cleans up resources.
Gets the current window title.
Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_call/3.
Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_cast/2.
Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_info/2.
Initializes the GenServer with default state.
Initializes the terminal.
Renders the current state.
Renders the current state with a specific renderer ID.
Resets the configuration to defaults.
Resizes the renderer.
Sets a specific configuration value.
Sets cursor visibility.
Sets the window title.
Shuts down the terminal.
Updates the renderer configuration with a single argument.
Updates the renderer configuration.
Types
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec cleanup(t()) :: :ok
Cleans up resources.
@spec get_title() :: String.t()
Gets the current window title.
Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_call/3.
Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_cast/2.
Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_info/2.
Initializes the GenServer with default state.
@spec init_terminal() :: :ok
Initializes the terminal.
@spec render(t()) :: :ok
Renders the current state.
Renders the current state with a specific renderer ID.
@spec reset_config() :: :ok
Resets the configuration to defaults.
@spec resize(non_neg_integer(), non_neg_integer()) :: :ok
Resizes the renderer.
Sets a specific configuration value.
@spec set_cursor_visibility(boolean()) :: :ok
Sets cursor visibility.
@spec set_title(String.t()) :: :ok
Sets the window title.
@spec shutdown_terminal() :: :ok
Shuts down the terminal.
@spec update_config(map()) :: :ok
Updates the renderer configuration with a single argument.
Updates the renderer configuration.