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

Open
opened 2026-02-16 17:44:39 -05:00 by yindo · 1 comment
Owner

Originally created by @artonyuan on GitHub (Jan 9, 2026).

Originally assigned to: @kommander on GitHub.

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

Originally created by @artonyuan on GitHub (Jan 9, 2026). Originally assigned to: @kommander on GitHub. ### 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 <img width="1573" height="731" alt="Image" src="https://github.com/user-attachments/assets/9e663e27-7604-4fd7-a19d-5cd00438a626" /> <img width="1465" height="696" alt="Image" src="https://github.com/user-attachments/assets/ac5f386f-447d-45a5-8aab-cd2cf873cfeb" /> ### Operating System macOS version: 15.6.1 ### Terminal Ghostty
yindo added the opentuibug labels 2026-02-16 17:44:39 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 9, 2026):

This issue might be a duplicate of existing issues or related to similar problems. Please check:

  • #4004: On macOS, copying an image file from Finder results in pasting a generic image icon, instead of the image data (related macOS image pasting issue)
  • #3734: CJK characters break some features like @ mentions (related input method/source handling issue)
  • #2013: Korean characters disappear in the input prompt when using WezTerm/Ghostty (related non-English input layout issue)

Feel free to ignore if none of these address your specific case.

For keybind-related issues, please also check our pinned keybinds documentation: #4997

@github-actions[bot] commented on GitHub (Jan 9, 2026): This issue might be a duplicate of existing issues or related to similar problems. Please check: - #4004: On macOS, copying an image file from Finder results in pasting a generic image icon, instead of the image data (related macOS image pasting issue) - #3734: CJK characters break some features like `@` mentions (related input method/source handling issue) - #2013: Korean characters disappear in the input prompt when using WezTerm/Ghostty (related non-English input layout issue) Feel free to ignore if none of these address your specific case. For keybind-related issues, please also check our pinned keybinds documentation: #4997
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4574