Raxol. SSH. IOAdapter
(Raxol v2.6.0)
View Source
I/O adapter for SSH sessions.
Replaces Terminal.Driver for SSH context:
- Reads from SSH channel data, parses via InputParser
- Writes ANSI output to SSH channel instead of stdout
Summary
Functions
Creates a writer function that sends output to an SSH channel.
Parses raw SSH channel input data into Raxol Event structs.
Functions
@spec make_writer(reference(), non_neg_integer()) :: (binary() -> :ok)
Creates a writer function that sends output to an SSH channel.
Returns a function (binary -> :ok) suitable for the :io_writer
option in Lifecycle/Rendering.Engine.
@spec parse_input(binary()) :: [Raxol.Core.Events.Event.t()]
Parses raw SSH channel input data into Raxol Event structs.
Delegates to Raxol.Terminal.ANSI.InputParser which handles
ANSI escape sequences, UTF-8 characters, and control codes.