Skip to main content Crate ublx Copy item path Source app TUI app loop and view building. The loop runs in main_loop ; setup/teardown live in [crate::handlers::core::run_tui_session]. cli_parser config TOML config, ublx paths, CLI/options validation, theme/toast/parallelism knobs, and streaming
/ profile wiring. Re-exports the stable config surface for the app. engine Indexing engine: SQLite db_ops , in-memory cache , walk/orchestration (orchestrator ), and
off-thread viewer work (viewer_async ). handlers TUI event handlers: session lifecycle ([core]), snapshot/background pipeline, mode transitions, and
the right-hand preview stack (viewing ). integrations External index integrations: Nefax walk results and Zahir / zahirscan (types, zarr paths, zahir JSON helpers). layout 3-panel TUI state (setup ) and style helpers (style ). modules Handler logic for small, named features (search, ublx-settings, theme-selector, dupe-finder, lens). render Frame drawing: main layout (core ), panes and overlays, file/markdown/CSV viewers, key/value
metadata tables, scrollable areas, and related widgets. themes Theme and color palettes for the TUI. Multiple themes can be added; the active theme is chosen via opts (e.g. config theme key). ui Keymaps, input routing, quick menus, multiselect, toasts, and string/layout constants—everything
that turns crossterm events into crate::app actions and drives chrome. utils Shared utilities: path/clipboard/terminal helpers, byte formatting, notifications, and small I/O
affordances (not the TUI or engine proper). define_path_ext_predicate Define a fn name(path: &str) -> bool that checks the path suffix against a fixed extension list.