Phoenix LiveComponent for embedding a Raxol terminal in a LiveView page.
Renders a terminal buffer as styled HTML using TerminalBridge, with
keyboard event capture and theming support.
Usage in a LiveView template
<.live_component
module={Raxol.LiveView.TerminalComponent}
id="my-terminal"
buffer={@buffer}
theme={:synthwave84}
/>Assigns
:buffer(required) -- terminal buffer (map orRaxol.Core.Buffer.t()):theme-- theme atom (default::default):width-- columns (default: 80):height-- rows (default: 24):show_cursor-- display cursor (default: true):cursor_x-- cursor column (default: 0):cursor_y-- cursor row (default: 0)