pub async fn run_wizard_loop<B: Backend>(
wizard: &mut Wizard,
terminal: &mut Terminal<B>,
events: &mut impl EventSource,
tick_rate: Duration,
) -> Result<Option<SetupPlan>>Expand description
The wizard’s draw/input loop.
Generic over the backend and event source so it runs against a
TestBackend and canned keys; the real crossterm bindings live in the
binary. Returns the plan to apply, or None if the user quit.