Skip to content

fix(tui): Ctrl+V image paste fails with Russian input source on macOS #7556

@artonyuan

Description

@artonyuan

Description

In the TUI on macOS, pasting images with Ctrl+V stops working when the input source is set to Russian. Text paste via Cmd+V works in both English and Russian layouts.

Expected

Image paste works regardless of input source.

Actual

Image paste does not trigger when input source is Russian. Works when input source is U.S. English.

Notes

  • Issue only affects image paste; text paste via Cmd+V works in both layouts.

Plugins

none

OpenCode version

1.1.11

Steps to reproduce

  1. Set macOS input source to Russian.
  2. Open OpenCode TUI.
  3. Copy an image to the clipboard.
  4. Press Ctrl+V.

Screenshot and/or share link

Image Image

Operating System

macOS version: 15.6.1

Terminal

Ghostty

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions