Expand description
Framework-agnostic interaction helpers — applying component interaction results to the runtime state.
This module holds the parts of the keyboard/interaction pipeline that touch
only core types, so every backend (ratatui, Slint, …) shares them. The
key-mapping and component-dispatch halves stay backend-side: each backend
maps its own key enum to crate::event::InputKey and dispatches via its
own component registry (or, after the shared-behavior extraction, via
crate::components::dispatch_event).
See the tui crate’s interaction module for the original implementation
this was lifted from.
Functions§
- apply_
event_ result - Apply an
EventResultproduced by a component to the processor’s state.