Expand description
Horto OS UI TUI (horto-os-ui-tui): Ratatui wizard over the shared engine.
Tabs: Setup, Overview, SSH, CLI, API, MCP, Reboot, Logs. With --remote,
probes and installs run over SSH; secrets use askpass, not leave-alt-screen
suspend. Confirm and text prompts are Ratatui modals.
Modulesยง
- app ๐
- TUI application state and setup/apply actions.
- draw ๐
- Ratatui draw helpers: layout, footer, panels, help overlay.
- event ๐
- Keyboard handling for the TUI event loop.
- probe_
job ๐ - Background remote surface probe for the TUI event loop.
- prompt ๐
- Ratatui modals: y/N confirm, free-text, and masked secret input.
- tabs ๐
- TUI tab order and colored surface panels.
Structsยง
- Terminal
Guard ๐ - Restores the terminal on drop (normal exit,
?, or unwind).
Staticsยง
- STOP ๐
- Set by SIGINT/SIGTERM so the loop can restore the tty before exit.
Functionsยง
- hard_
reset_ ๐tty - Reset SGR, show cursor, leave alt buffer, clear leftover TUI cells.
- install_
panic_ ๐hook - install_
signal_ ๐handlers - main ๐
- restore_
terminal ๐ - run_app ๐