Raxol.Components.Terminal.Emulator (Raxol v0.3.0)
View SourceTerminal emulator component wrapping the core emulator logic.
Summary
Functions
Gets the visible content from the UI component's state.
Handles terminal resize events. TODO: Implement proper resizing by delegating to CoreEmulator or ScreenBuffer
Initializes a new terminal emulator component state.
Accepts an optional map of options, currently supporting :width
and :height
.
Processes input and updates terminal state by delegating to the core emulator.
Returns a tuple {updated_state, output_string}
.
Types
@type emulator_state() :: %{core_emulator: Raxol.Terminal.Emulator.t()}
Functions
Gets the visible content from the UI component's state.
Handles terminal resize events. TODO: Implement proper resizing by delegating to CoreEmulator or ScreenBuffer
Initializes a new terminal emulator component state.
Accepts an optional map of options, currently supporting :width
and :height
.
Processes input and updates terminal state by delegating to the core emulator.
Returns a tuple {updated_state, output_string}
.