bug: copy to clipboard doesnt work on wsl v1.07+ #2433

Closed
opened 2026-02-16 17:35:35 -05:00 by yindo · 4 comments
Owner

Originally created by @althafdemiandra on GitHub (Nov 1, 2025).

Originally assigned to: @thdxr on GitHub.

Description

i am using wsl with archlinux
clipboard should use windows clip.exe

paste to input is working

working fine on my mac machine

❯ command -v xclip xsel wl-copy clip.exe
/mnt/c/Windows/system32/clip.exe

❯ which clip.exe
/mnt/c/Windows/system32/clip.exe

OpenCode version

v1.0.7

Steps to reproduce

  1. start/open new session
  2. try selecting the text

Screenshot and/or share link

Image

Operating System

Windows 11

Terminal

Windows Terminal

Originally created by @althafdemiandra on GitHub (Nov 1, 2025). Originally assigned to: @thdxr on GitHub. ### Description i am using wsl with archlinux clipboard should use windows `clip.exe` paste to input is working working fine on my mac machine ``` ❯ command -v xclip xsel wl-copy clip.exe /mnt/c/Windows/system32/clip.exe ❯ which clip.exe /mnt/c/Windows/system32/clip.exe ``` ### OpenCode version v1.0.7 ### Steps to reproduce 1. start/open new session 2. try selecting the text ### Screenshot and/or share link <img width="1888" height="1107" alt="Image" src="https://github.com/user-attachments/assets/6a34f86b-5f13-4023-aba8-33a00e44280e" /> ### Operating System Windows 11 ### Terminal Windows Terminal
yindo added the opentuibug labels 2026-02-16 17:35:35 -05:00
yindo closed this issue 2026-02-16 17:35:35 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 1, 2025):

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

  • #3081: Similar WSL clipboard functionality issues - reports inability to paste text with CTRL+V or right mouse click when running inside WSL

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

@github-actions[bot] commented on GitHub (Nov 1, 2025): This issue might be a duplicate of existing issues. Please check: - #3081: Similar WSL clipboard functionality issues - reports inability to paste text with CTRL+V or right mouse click when running inside WSL Feel free to ignore if none of these address your specific case.
Author
Owner

@furai commented on GitHub (Nov 1, 2025):

I get the same in native linux.

@furai commented on GitHub (Nov 1, 2025): I get the same in native linux.
Author
Owner

@arsham commented on GitHub (Nov 1, 2025):

On Arch linux I get no yanking notifications like before (leader+y), and it doesn't yank the message in clipboard either.

@arsham commented on GitHub (Nov 1, 2025): On Arch linux I get no yanking notifications like before (leader+y), and it doesn't yank the message in clipboard either.
Author
Owner

@althafdemiandra commented on GitHub (Nov 1, 2025):

fixed on v1.0.8, thanks! @thdxr
https://github.com/sst/opencode/releases/tag/v1.0.8

@althafdemiandra commented on GitHub (Nov 1, 2025): fixed on v1.0.8, thanks! @thdxr https://github.com/sst/opencode/releases/tag/v1.0.8
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2433