Expand description
TUI rendering for Pacsea.
This module renders the full terminal user interface using ratatui.
The layout is split vertically into three regions:
- Results list (top): shows search matches and keeps the current selection centered when possible
- Middle row (three columns): Recent (left), Search input (center), and Install list (right), each styled based on focus
- Details pane (bottom): rich package information with a clickable URL and a contextual help footer displaying keybindings
The renderer also draws modal overlays for alerts and install confirmation.
It updates app.url_button_rect to make the URL clickable when available.
Modules§
- helpers
- UI helper utilities for formatting and pane-specific behaviors.
Functions§
- ui
- What: Render a full frame of the Pacsea TUI.