Raxol.Terminal.EventProcessor (Raxol v0.5.0)
View SourceHandles processing of terminal events and their effects on the terminal state.
This module is responsible for:
- Processing different types of terminal events
- Validating event data
- Applying event effects to the terminal state
- Coordinating with other terminal components
Summary
Functions
Processes a terminal event and returns the updated terminal state.
Functions
@spec process_event(Raxol.Core.Events.Event.t(), Raxol.Terminal.Emulator.t()) :: {Raxol.Terminal.Emulator.t(), any()}
Processes a terminal event and returns the updated terminal state.
Parameters
event
- The event to processemulator
- The current terminal emulator state
Returns
{updated_emulator, output}
- The updated emulator state and any output