pacsea/app/
mod.rs

1//! Pacsea application module (split from a single large file into submodules).
2//!
3//! This module organizes the TUI runtime into smaller files to improve
4//! maintainability and keep individual files under 500 lines.
5
6/// Dependency cache for storing resolved dependency information.
7mod deps_cache;
8/// File cache for storing package file information.
9mod files_cache;
10/// Persistence layer for saving and loading application state.
11mod persist;
12/// Recent queries and history management.
13mod recent;
14/// Runtime event loop and background workers.
15mod runtime;
16pub mod sandbox_cache;
17pub mod services_cache;
18/// Terminal setup and restoration utilities.
19mod terminal;
20
21// Re-export the public entrypoint so callers keep using `app::run(...)`.
22pub use runtime::run;
23
24// Re-export functions needed by event handlers
25pub use runtime::init::{apply_settings_to_app_state, initialize_locale_system};