Module events

Module events 

Source
Expand description

Event handling layer for Pacsea’s TUI (modularized).

This module re-exports handle_event and delegates pane-specific logic and mouse handling to submodules to keep files small and maintainable.

Modules§

utils
Utility functions for event handling.

Functions§

handle_event
What: Dispatch a single terminal event (keyboard/mouse) and mutate the AppState.
open_preflight_modal
What: Open preflight modal with cached dependencies and files, or trigger background resolution.
start_execution
What: Start command execution by transitioning to PreflightExec and storing ExecutorRequest.