Raxol.Terminal.Input.InputHandler (Raxol v2.0.1)
View SourceHandles input processing for the terminal emulator.
This module manages keyboard input, mouse events, input history, and modifier key states.
Summary
Functions
Adds current buffer to history if not empty.
Checks if buffer is empty.
Clears the input buffer.
Gets buffer contents.
Gets history entry at specified index.
Gets current input mode.
Handles printable character input for the terminal emulator.
Creates a new input handler with default values.
Moves to next (newer) history entry.
Moves to previous (older) history entry.
Processes key with current modifier state.
Processes regular keyboard input.
Processes mouse events.
Processes special keys like arrow keys, function keys, etc.
Sets input mode.
Sets mouse enabled state.
Updates modifier key state.
Types
Functions
Adds current buffer to history if not empty.
Checks if buffer is empty.
Clears the input buffer.
Gets buffer contents.
Gets history entry at specified index.
Gets current input mode.
Handles printable character input for the terminal emulator.
@spec new() :: t()
Creates a new input handler with default values.
Moves to next (newer) history entry.
Moves to previous (older) history entry.
Processes key with current modifier state.
Processes regular keyboard input.
Processes mouse events.
Processes special keys like arrow keys, function keys, etc.
Sets input mode.
Sets mouse enabled state.
Updates modifier key state.