Expand description
Key → UserAction mapping.
Goal-144 widens this from a thin KeyCode forwarder to a full
KeyEvent forwarder so that modifier-aware bindings (the new
Ctrl+E toggle on the most recent ToolResult block) are handled
uniformly inside App::handle_key.
Goal-145 will introduce mode-aware mapping (Insert / Command / Visual …) and that logic will grow here.
Functions§
- dispatch
- Dispatch a key event onto the app state. Returns an optional
UserActionthe caller must forward to the agent worker.