Expand description
Shared TUI components and themes for ResQ developer tools.
Inspired by binsider architecture.
Re-exports§
Modules§
- terminal
- Terminal lifecycle helpers — init, restore, and event-loop runner.
Structs§
- Theme
- Standard
ResQTUI Theme.
Constants§
- SPINNER_
FRAMES - Spinner animation frames for loading indicators.
Functions§
- 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.