Skip to content

Windows Terminal + WSL: Ctrl+V text paste works but image paste is inconsistent #19502

@dhruvkej9

Description

@dhruvkej9

Description

Running OpenCode in WSL2 Ubuntu 24.04 inside Windows Terminal shows inconsistent Ctrl+V behavior.

Text paste can work, but image paste can fail depending on terminal keybinding handling and whether bracketed-paste signaling is forwarded.

OpenCode config details (from ~/.config/opencode/opencode.json):

  • model: openai/gpt-5.3-codex
  • plugins: @mohak34/opencode-notifier@latest, oh-my-openagent@3.14.0
  • MCPs configured: gitnexus (enabled), chrome-devtools (disabled), playwright (disabled), sap-cap-capire (disabled), ui5-tooling (disabled), fiori-tools (disabled)
  • experimental.mcp_timeout: 180000

Plugins

@mohak34/opencode-notifier@latest, oh-my-openagent@3.14.0

OpenCode version

1.3.3

Steps to reproduce

  1. Run OpenCode in WSL2 Ubuntu 24.04 from Windows Terminal.
  2. Keep default Windows Terminal Ctrl+V paste behavior.
  3. Copy plain text and paste into OpenCode with Ctrl+V (works).
  4. Copy an image to clipboard and paste into OpenCode with Ctrl+V (fails or is inconsistent).
  5. Compare behavior with a custom Windows Terminal keybinding that also sends an empty bracketed-paste marker.

Screenshot and/or share link

N/A

Operating System

WSL2 Ubuntu 24.04

Terminal

Windows Terminal

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentuiwindows

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions