You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Warp mode + interactive Q&A: all input captured (mouse clicks, Enter, Ctrl+C) — user must force-close terminal #27302
When using warp mode (/warp) in a worktree session and the agent triggers the interactive Q&A mode (e.g., via the question tool during planning/decision-making), all user input is completely captured — no action can be taken:
Mouse clicks on confirm/cancel buttons do nothing
Enter key does nothing
Ctrl+C (or Cmd+C) does not exit — normally this would abort the interactive Q&A
The only way to recover is to force-close the terminal window (Ghostty + Fish)
When the session is forcibly terminated, OpenCode reports "interactive Q&A aborted by user" on next launch, confirming the question was never dismissed.
Root Cause Hypothesis
The warp flow (/warp) manipulates a dialog stack via dialog.clear(), dialog.replace(), etc. It appears the warp dialog lifecycle leaves a modal overlay or event capture layer that intercepts all input — both mouse and keyboard — and never releases it. The entire TUI event loop for the session becomes blocked.
Key code locations:
packages/opencode/src/cli/cmd/tui/routes/session/question.tsx — QuestionPrompt with onMouseUp and key bindings
changed the title [-]Warp mode + interactive Q&A: confirm button does nothing, cannot cancel, stuck in question prompt[/-][+]Warp mode + interactive Q&A: confirm/cancel buttons do not respond (mouse clicks swallowed)[/+]on May 13, 2026
changed the title [-]Warp mode + interactive Q&A: confirm/cancel buttons do not respond (mouse clicks swallowed)[/-][+]Warp mode + interactive Q&A: all input captured (mouse clicks, Enter, Ctrl+C) — user must force-close terminal[/+]on May 13, 2026
This no longer looks specific to /warp, Ghostty/fish, or Secure Keyboard Entry. I found a narrower reproduction around the interactive Q&A custom-answer state:
Open a multi-step question prompt.
On the last question, choose/open the custom answer option (Type your own answer / Other).
Leave that custom answer editor open/selected, then move to the Confirm tab.
The Confirm screen is visible and tabs/options can still be clicked, but Enter/confirm does nothing.
If I type a value into the custom answer field, for example option 1, and submit that edit, Confirm starts working again.
Looking at packages/opencode/src/cli/cmd/tui/routes/session/question.tsx, this appears to be stale store.editing state:
selectTab(index) changes tab and selected, but does not clear editing.
The Confirm submit binding is in the non-editing bindings: enabled: dialog.stack.length === 0 && !store.editing.
The edit bindings are enabled only with store.editing && !confirm().
So when store.editing === true and confirm() === true, neither the edit Return binding nor the Confirm Return binding is active.
That also explains why clicking/navigating between steps still works while Confirm itself does not. A likely fix is to clear editing when leaving a question tab, or ensure the Confirm tab can submit/escape even if a stale custom-answer editor state is true.
Reacted by Jeff, Lukas Zuegge, transportrefer, allen and Andrea Amorosi
Activity
[-]Warp mode + interactive Q&A: confirm button does nothing, cannot cancel, stuck in question prompt[/-][+]Warp mode + interactive Q&A: confirm/cancel buttons do not respond (mouse clicks swallowed)[/+][-]Warp mode + interactive Q&A: confirm/cancel buttons do not respond (mouse clicks swallowed)[/-][+]Warp mode + interactive Q&A: all input captured (mouse clicks, Enter, Ctrl+C) — user must force-close terminal[/+]transportrefer commentedon May 13, 2026
Update after reproducing this outside
/warp:This no longer looks specific to
/warp, Ghostty/fish, or Secure Keyboard Entry. I found a narrower reproduction around the interactive Q&A custom-answer state:questionprompt.Type your own answer/Other).Confirmtab.option 1, and submit that edit, Confirm starts working again.Looking at
packages/opencode/src/cli/cmd/tui/routes/session/question.tsx, this appears to be stalestore.editingstate:selectTab(index)changestabandselected, but does not clearediting.enabled: dialog.stack.length === 0 && !store.editing.store.editing && !confirm().store.editing === trueandconfirm() === true, neither the edit Return binding nor the Confirm Return binding is active.That also explains why clicking/navigating between steps still works while Confirm itself does not. A likely fix is to clear
editingwhen leaving a question tab, or ensure the Confirm tab can submit/escape even if a stale custom-answer editor state is true.luksch commentedon May 20, 2026
same here on cachyos with the opencode plugin in vs code.
dreamorosi commentedon Jun 13, 2026
I'm facing the same issue and it's blocking
/warpusage - @kommander any chance you could look into this and see if the linked PR solves it?rekram1-node commentedon Jun 23, 2026
Automated: closing question issues.
GitHub Issues are for bug reports and feature requests only — questions / support are no longer tracked here.
If this is a bug or feature request, please open a new issue with the appropriate template.
rekram1-node commentedon Jun 23, 2026
Reopening – this was incorrectly closed by automated question-issue cleanup. Sorry for the noise.
github-actions commentedon Aug 23, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.