Skip to content

tui: question dialog "Type your own answer" input ignores Cmd+V paste #43241

Closed

Description

@qretsar

Summary

In the question/selection dialog (the one where you pick from options or "Type your own answer"), the free-text "Type your own answer" input does not accept pasted text via Cmd+V. Pasting works fine in the main prompt input, so this appears specific to the question dialog's text entry.

Environment

  • opencode version: 0.0.0-beta-17595 (beta channel; opencode --version on PATH reports 1.18.18)
  • OS: Darwin 25.2.0 (darwin arm64) / macOS
  • Terminal: WarpTerminal (TERM=xterm-256color, COLORTERM=truecolor)
  • Shell: /bin/zsh
  • Install/channel: beta
  • Active plugins: claude-code-bounded.ts, claude-code-job-report.ts, claude-code-job-store.ts, claude-code-origin.ts, claude-code-runner-termination.ts, delegate-orchestration.ts, gsd-core.js, litellm-model-sync.ts, notify-macos.ts, session-context-tools.ts, @warp-dot-dev/opencode-warp, opencode-antigravity-auth@1.6.0, opencode-auto-continue, opencode-disabler@1.1.1, opencode-openai-codex-auth

Reproduction

  1. Trigger a flow that shows the question dialog with selectable options and a "Type your own answer" free-text entry (e.g. the built-in question tool from a skill/agent).
  2. Focus/select "Type your own answer" and type — typing works.
  3. Attempt to paste text with Cmd+V.
  4. Nothing is pasted into the field.

Expected Behavior

Cmd+V should paste the clipboard contents into the "Type your own answer" text input, same as it does in the main prompt input.

Actual Behavior

Nothing is pasted. Typed input works, but pasted input is ignored.

Additional Context

  • Reproducible: consistently (every time).
  • Paste works normally in other TUI inputs, including the main prompt, so the issue is specific to the question dialog's own-answer field.
  • Terminal: Warp — but since paste works elsewhere in the TUI, this looks like the dialog input not handling the paste keybinding/event rather than a terminal issue.

Activity

  1. github-actions commented on Aug 18, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

  2. opencode-agent commented on Aug 20, 2026

    @opencode-agent
    Contributor

    Addressed by #43526. The standard V2 TUI question form now owns the configured clipboard-paste action while an answer is displayed, reads and normalizes text from the clipboard, opens the custom-answer row when needed, and inserts at the active editor cursor. The regression drives the configured paste shortcut with real clipboard content, and live PTY verification covers the same interaction. Closing as resolved on the v2 branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions