Raxol.Terminal.Emulator.Output (Raxol v0.5.0)
View SourceHandles output processing for the terminal emulator. Provides functions for output buffering, processing, and formatting.
Summary
Functions
Clears the output buffer.
Gets the current output buffer content.
Processes the output buffer and updates the emulator state.
Processes output data and updates the emulator state.
Writes data to the output buffer.
Writes a control character to the output buffer. Returns {:ok, updated_emulator}.
Writes an escape sequence to the output buffer. Returns {:ok, updated_emulator}.
Writes a line to the output buffer. Returns {:ok, updated_emulator}.
Functions
Clears the output buffer.
Gets the current output buffer content.
Processes the output buffer and updates the emulator state.
Processes output data and updates the emulator state.
Writes data to the output buffer.
@spec write_control(Raxol.Terminal.Emulator.Struct.t(), char()) :: {:ok, Raxol.Terminal.Emulator.Struct.t()}
Writes a control character to the output buffer. Returns {:ok, updated_emulator}.
@spec write_escape(Raxol.Terminal.Emulator.Struct.t(), String.t()) :: {:ok, Raxol.Terminal.Emulator.Struct.t()}
Writes an escape sequence to the output buffer. Returns {:ok, updated_emulator}.
@spec write_line(Raxol.Terminal.Emulator.Struct.t(), String.t()) :: {:ok, Raxol.Terminal.Emulator.Struct.t()}
Writes a line to the output buffer. Returns {:ok, updated_emulator}.