Mode 3 — full-screen ratatui TUI prompts.
This folder is the reusable interactive kit. The heavy lifting lives in:
- [
runtime] — the enter/draw/key/restore event loop ([runtime::run]) and the TTY guards. - [
layout] — shared vertical zone splits. - [
widgets] — themed header, help bar, cursor list, input line, paginator, and the composed [widgets::scroll_list].
Each public prompt below is now just state + a draw call + a key match, so adding a new screen is a few lines and the business logic stays obvious.
Every entry point first honours inline mode ([runtime::prefers_inline])
and the non-TTY guard ([runtime::is_interactive]), falling back to a
sensible default so scripts never block.
Source:
src/ui/interactive/mod.rs