Skip to main content

Module tui

Module tui 

Source
Expand description

Terminal UI module.

This module contains all ratatui / crossterm code and is responsible purely for presentation and interaction. It talks to the rest of the application through:

  • RommClient (HTTP / data access),
  • core::cache::RomCache (disk-backed ROM cache), and
  • core::download::DownloadManager (background ROM downloads).

Keeping those "service" types UI-agnostic makes it easy to add other frontends (e.g. a GUI) reusing the same core logic.

Modules§

app
Application state and TUI event loop.
openapi
Parse a subset of OpenAPI 3.x JSON into a flat endpoint list for the TUI expert browser.
screens
Collection of individual TUI screens.
utils

Functions§

run
Launch the interactive TUI.