Raxol. Core. Runtime. Lifecycle. Initializer
(Raxol v2.9.2)
View Source
Component startup sequence for the Raxol application lifecycle. Extracted from Lifecycle to reduce file size.
Summary
Functions
Detects actual terminal size, falling back to options then 80x24.
Initializes all components in order: registry table, plugin manager, app model,
dispatcher, terminal driver, rendering engine.
Returns {:ok, registry_table, pm_pid, model, dispatcher_pid, driver_pid, engine_pid}
or {:error, reason, cleanup_fun}.
Starts the CodeReloader in dev mode; returns nil otherwise, and when
config :raxol, :code_reloader is false. A recompile prints to stdout,
so a host whose stdout is a protocol stream turns the reloader off.
Functions
Detects actual terminal size, falling back to options then 80x24.
Initializes all components in order: registry table, plugin manager, app model,
dispatcher, terminal driver, rendering engine.
Returns {:ok, registry_table, pm_pid, model, dispatcher_pid, driver_pid, engine_pid}
or {:error, reason, cleanup_fun}.
Starts the CodeReloader in dev mode; returns nil otherwise, and when
config :raxol, :code_reloader is false. A recompile prints to stdout,
so a host whose stdout is a protocol stream turns the reloader off.