Raxol.Terminal.Input.Manager (Raxol v0.5.0)
View SourceManages terminal input operations with advanced features:
- Advanced key handling with modifier support
- Input validation and sanitization
- Input buffering with timeout handling
- Input customization and mapping
Summary
Functions
Flushes the input buffer.
Gets the current input metrics.
Creates a new input manager with the given options.
Processes a key event with validation and mapping.
Types
@type key_event() :: %{ key: String.t(), modifiers: [key_modifier()], timestamp: integer() }
@type key_modifier() :: :shift | :ctrl | :alt | :meta
Functions
Flushes the input buffer.
Gets the current input metrics.
Creates a new input manager with the given options.
Processes a key event with validation and mapping.