Module: resq_tui
Contents
Modulesterminal- Terminal lifecycle helpers — init, restore, and event-loop runner.
Theme- StandardResQTUI Theme.
centered_rect- Helper to create a centered rectangle for popups.draw_footer- Renders a standardized footer with keyboard shortcuts.draw_header- Renders a standardized header with service metadata and PID.draw_popup- Renders a centered popup for help or errors.draw_tabs- Renders a standardized tab bar.format_bytes- Formats bytes into human-readable units.format_duration- Formats seconds into human-readable duration.
SPINNER_FRAMES- Spinner animation frames for loading indicators.
resq_tui::SPINNER_FRAMES
Constant:&[&str]
Spinner animation frames for loading indicators.
resq_tui::Theme
Struct StandardResQ TUI Theme.
Fields:
primary: ratatui::style::Color- Primary brand color (Cyan)secondary: ratatui::style::Color- Secondary supporting color (Blue)accent: ratatui::style::Color- Accent color for PID/Metadata (Magenta)success: ratatui::style::Color- Success state (Green)warning: ratatui::style::Color- Warning/Pending state (Yellow)error: ratatui::style::Color- Error/Critical state (Red)bg: ratatui::style::Color- Background colorfg: ratatui::style::Color- Foreground text colorhighlight: ratatui::style::Color- Highlight/Selection colorinactive: ratatui::style::Color- Inactive/Muted color (DarkGray)
- Default
fn default() -> Self