mod tui

module tui

Functions

fn run() -> anyhow::Result<()>
fn run_scripted(terminal: &mut Terminal<ratatui::backend::TestBackend>, tokens: &[crate::scripted::ScriptToken]) -> anyhow::Result<String>

Drives a fresh generator wizard App through a pre-parsed key script against an in-memory TestBackend, returning the final rendered frame as text.

This is the entry point both run() (via PARANOID_TUI_SCRIPT) and integration tests use to exercise the real App, including its background audit worker thread, without a PTY. The wizard always starts from App::default(), matching the real run() entry point, so scripts drive the whole flow from the initial Configure screen.