Raxol.Terminal.Parser (Raxol v0.2.0)

View Source

Parses raw byte streams into terminal events and commands. Handles escape sequences (CSI, OSC, DCS, etc.) and plain text.

Summary

Functions

Parses a chunk of input using a state machine.

Functions

parse_chunk(emulator, input)

Parses a chunk of input using a state machine.

Takes the current emulator state and input binary, returns the updated emulator state after processing the input chunk.

Delegates actual state modification (character writing, command execution) back to the Emulator module.