Raxol.Terminal.ScreenUpdater (Raxol v2.0.1)
View SourceHandles screen update operations for the terminal.
This module manages updating the terminal screen content, including batched updates and differential rendering.
Summary
Functions
Performs a batched screen update for efficiency.
Clears the screen.
Refreshes the entire screen.
Scrolls the screen content.
Updates a specific region of the screen.
Updates the screen with new buffer content.
Functions
@spec batch_update_screen([Raxol.Terminal.ScreenBuffer.t()], map()) :: :ok | {:error, term()}
Performs a batched screen update for efficiency.
@spec clear_screen() :: :ok
Clears the screen.
@spec refresh_screen(Raxol.Terminal.ScreenBuffer.t()) :: :ok | {:error, term()}
Refreshes the entire screen.
@spec scroll_screen(integer()) :: :ok
Scrolls the screen content.
@spec update_region( Raxol.Terminal.ScreenBuffer.t(), integer(), integer(), integer(), integer() ) :: :ok | {:error, term()}
Updates a specific region of the screen.
@spec update_screen(Raxol.Terminal.ScreenBuffer.t(), map()) :: :ok | {:error, term()}
Updates the screen with new buffer content.