Skip to main content

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.
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 downgrade tool in an external terminal without Pacsea-managed password piping.
start_execution
What: Start command execution by transitioning to PreflightExec and storing ExecutorRequest.
try_interactive_auth_handoff
What: Perform interactive privilege-tool authentication with a TUI terminal handoff.