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. - handle_
event_ with_ pkgbuild_ checks - What: Event dispatcher variant that includes PKGBUILD checks channel wiring.
- open_
preflight_ modal - What: Open preflight modal with cached dependencies and files, or trigger background resolution.
- spawn_
downgrade_ in_ terminal - What: Spawn the
downgradetool in an external terminal without Pacsea-managed password piping. - start_
execution - What: Start command execution by transitioning to
PreflightExecand storingExecutorRequest. - try_
interactive_ auth_ handoff - What: Perform interactive privilege-tool authentication with a TUI terminal handoff.