Raxol.Terminal.Input.InputProcessor (Raxol v2.0.1)

View Source

Processes input events for the terminal emulator.

Summary

Functions

Formats key events to escape sequences.

Formats mouse events to escape sequences.

Maps an input event to a terminal command.

Creates a new input processor.

Parses key event sequences.

Parses mouse event sequences.

Processes input and returns parsed events.

Functions

format_key_event(key_event)

Formats key events to escape sequences.

format_mouse_event(mouse_event)

Formats mouse events to escape sequences.

map_event(event)

Maps an input event to a terminal command.

new()

Creates a new input processor.

parse_key_event(input)

Parses key event sequences.

parse_mouse_event(sequence)

Parses mouse event sequences.

process_input(input)

Processes input and returns parsed events.