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
Appthrough a pre-parsed key script against an in-memoryTestBackend, returning the final rendered frame as text.This is the entry point both
run()(viaPARANOID_TUI_SCRIPT) and integration tests use to exercise the realApp, including its background audit worker thread, without a PTY. The wizard always starts fromApp::default(), matching the realrun()entry point, so scripts drive the whole flow from the initialConfigurescreen.