Raxol.Terminal.Integration.Renderer (Raxol v0.4.0)

View Source

Handles terminal output rendering and display management.

Summary

Functions

Clears the terminal screen.

Gets the current renderer configuration.

Gets the current terminal dimensions.

Gets the current terminal title.

Moves the cursor to a specific position on the screen.

Renders the current terminal state to the screen.

Resets the renderer configuration to default values.

Resizes the terminal display.

Sets a specific renderer configuration value.

Shows or hides the cursor.

Sets the terminal title.

Updates the renderer configuration.

Functions

clear_screen(state)

Clears the terminal screen.

get_config(state)

Gets the current renderer configuration.

get_dimensions(state)

Gets the current terminal dimensions.

get_title(state)

Gets the current terminal title.

move_cursor(state, x, y)

Moves the cursor to a specific position on the screen.

render(state)

Renders the current terminal state to the screen.

reset_config(state)

Resets the renderer configuration to default values.

resize(state, width, height)

Resizes the terminal display.

set_config_value(state, key, value)

Sets a specific renderer configuration value.

set_cursor_visibility(state, visible)

Shows or hides the cursor.

set_title(state, title)

Sets the terminal title.

update_config(state, config)

Updates the renderer configuration.