[PR #8201] fix(tui): keep custom question answer per-tab #12658

Closed
opened 2026-02-16 18:17:33 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/8201

State: closed
Merged: No


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.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/8201 **State:** closed **Merged:** No --- 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.
yindo added the pull-request label 2026-02-16 18:17:33 -05:00
yindo closed this issue 2026-02-16 18:17:33 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12658