Raxol.Terminal.TerminalProcess (Raxol v2.0.1)

View Source

Individual terminal process implementation for event sourced architecture.

This GenServer represents a single terminal instance and handles all terminal-specific operations including input/output processing, configuration management, and state persistence using event sourcing.

Summary

Functions

Returns a specification to start this module under a supervisor.

Types

terminal_config()

@type terminal_config() :: %{
  terminal_id: String.t(),
  user_id: String.t(),
  width: pos_integer(),
  height: pos_integer(),
  title: String.t() | nil,
  shell_command: String.t(),
  working_directory: String.t(),
  environment_variables: map(),
  theme: String.t() | nil,
  font_settings: map() | nil,
  accessibility_options: map() | nil
}

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

handle_manager_cast(msg, state)

Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_cast/2.

start_link(init_opts \\ [])