Raxol.Terminal.Input.CharacterProcessor (Raxol v0.5.0)

View Source

Handles character processing, translation, and writing to the terminal buffer.

Summary

Functions

Processes a single character codepoint. Delegates to C0 handlers or printable character handlers.

Processes a single printable character codepoint. Handles writing the character to the buffer, cursor advancement, and line wrapping.

Functions

process_character(emulator, char_codepoint)

@spec process_character(Raxol.Terminal.Emulator.t(), integer()) ::
  Raxol.Terminal.Emulator.t()

Processes a single character codepoint. Delegates to C0 handlers or printable character handlers.

process_printable_character(emulator, char_codepoint)

@spec process_printable_character(Raxol.Terminal.Emulator.t(), integer()) ::
  Raxol.Terminal.Emulator.t()

Processes a single printable character codepoint. Handles writing the character to the buffer, cursor advancement, and line wrapping.