Summary
Let the textarea widget open the user's configured $EDITOR for long multi-line input and capture the result on return.
Details
Inline multi-line editing is fine for a few lines but painful for paragraphs or structured text.
Add an opt-in option on the textarea widget (or a companion editor widget) that suspends the TUI, opens the user's $EDITOR to compose the content, and captures the saved buffer back into the answer when the editor exits.
Acceptance criteria
Summary
Let the textarea widget open the user's configured
$EDITORfor long multi-line input and capture the result on return.Details
Inline multi-line editing is fine for a few lines but painful for paragraphs or structured text.
Add an opt-in option on the textarea widget (or a companion editor widget) that suspends the TUI, opens the user's
$EDITORto compose the content, and captures the saved buffer back into the answer when the editor exits.Acceptance criteria
$EDITOR, and restores the TUI on exit.