docs/tui-request-user-input.md
This note documents the TUI overlay used to gather answers for
RequestUserInputEvent.
The overlay renders one question at a time and collects:
When options are present, notes are stored per selected option and the first
option is selected by default, so every option question has an answer. If a
question has no options and no notes are provided, the answer is submitted as
skipped.
The overlay tracks a small focus state:
Typing while focused on options switches into notes automatically to reduce friction for freeform input.
The layout prefers to keep the question and all options visible. Notes and footer hints collapse as space shrinks, with notes falling back to a single-line "Notes: ..." input in tight terminals.