opencode icon indicating copy to clipboard operation
opencode copied to clipboard

fix(tui): keep custom question answer per-tab

Open luispl77 opened this issue 1 day ago • 1 comments

Fixes #8199

Summary

  • Commit "Type your own answer" value before switching question tabs / going to Confirm.
  • When re-opening the custom input, move cursor to end of existing text.

Test Plan

  • Started bun dev, triggered Question tool with multiple questions.
  • Typed a custom answer on Question A, clicked Question B tab with mouse, then Confirm.
  • Verified the custom answer stays on the correct question and cursor placement is sane.

Evidence

See before/after videos on #8199.

luispl77 avatar Jan 13 '26 11:01 luispl77