Raxol.Terminal.Configuration (Raxol v0.5.0)

View Source

Configuration management for the terminal emulator.

Summary

Functions

Applies restored data to the configuration.

Creates a new configuration with default values.

Restores the most recently saved terminal state.

Saves the current terminal state.

Types

t()

@type t() :: %Raxol.Terminal.Configuration{
  charset_state: map(),
  height: non_neg_integer(),
  mode_state: map(),
  saved_state: [Raxol.Terminal.ANSI.TerminalState.t()],
  scrollback_size: non_neg_integer(),
  tab_stops: [non_neg_integer()],
  width: non_neg_integer()
}

Functions

apply_restored_data(state, data, opts)

Applies restored data to the configuration.

new(opts \\ [])

Creates a new configuration with default values.

restore_state(config)

Restores the most recently saved terminal state.

save_state(state, config)

Saves the current terminal state.