Raxol.Terminal.Integration.State (Raxol v0.5.0)
View SourceManages the state of the integrated terminal system.
Summary
Functions
Cleans up resources.
Gets the current memory usage.
Gets the current scroll position.
Gets the visible content from the current window.
Creates a new integration state with the given options.
Renders the current state.
Resizes the terminal.
Updates the integration state with new content.
Updates the renderer configuration.
Types
@type t() :: %Raxol.Terminal.Integration.State{ buffer: any(), buffer_manager: Raxol.Terminal.Buffer.UnifiedManager.t(), config: Raxol.Terminal.Integration.Config.t(), input: any(), io: Raxol.Terminal.IO.UnifiedIO.t(), output: any(), renderer: Raxol.Terminal.Render.UnifiedRenderer.t(), scroll_buffer: Raxol.Terminal.Scroll.UnifiedScroll.t(), window: any(), window_manager: Raxol.Terminal.Window.UnifiedWindow.t() }
Functions
@spec cleanup(t()) :: :ok
Cleans up resources.
Gets the current memory usage.
Gets the current scroll position.
Gets the visible content from the current window.
Creates a new integration state with the given options.
Renders the current state.
@spec resize(t(), non_neg_integer(), non_neg_integer()) :: t()
Resizes the terminal.
Updates the integration state with new content.
Updates the renderer configuration.