Clipboard copy in WSL #3709

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

Originally created by @klonuo on GitHub (Dec 20, 2025).

Originally assigned to: @rekram1-node on GitHub.

When I select some text in opencode running in WSL, I got notified that content is copied to clipboard, which it is.

However, when I use share, I get notified that url is copied but it is not.
Same applies for other session sharing commands, like copy transcript, copy last message etc - it is not copied to clipboard

Originally created by @klonuo on GitHub (Dec 20, 2025). Originally assigned to: @rekram1-node on GitHub. When I select some text in opencode running in WSL, I got notified that content is copied to clipboard, which it is. However, when I use share, I get notified that url is copied but it is not. Same applies for other session sharing commands, like copy transcript, copy last message etc - it is not copied to clipboard
yindo added the windows label 2026-02-16 17:41:11 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 20, 2025):

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

  • #5084: ctrl+v / ctrl+c does not work with WSL ubuntu
  • #5046: Can't copy text from opencode through mouse selection in Windows Terminal
  • #3678: copy to clipboard doesnt work on wsl v1.07+
  • #4754: Copy and Paste behaviour under Linux (mentions clipboard and copy issues)
  • #4283: Copy To Clipboard is not working
  • #5640: copy paste api key under kubuntu

These all relate to clipboard functionality issues in WSL and similar environments. Your issue specifically highlights the problem with sharing commands (share, copy transcript, copy last message) not copying to clipboard in WSL, which may be part of a broader WSL clipboard handling issue.

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

@github-actions[bot] commented on GitHub (Dec 20, 2025): This issue might be a duplicate of existing issues. Please check: - #5084: ctrl+v / ctrl+c does not work with WSL ubuntu - #5046: Can't copy text from opencode through mouse selection in Windows Terminal - #3678: copy to clipboard doesnt work on wsl v1.07+ - #4754: Copy and Paste behaviour under Linux (mentions clipboard and copy issues) - #4283: Copy To Clipboard is not working - #5640: copy paste api key under kubuntu These all relate to clipboard functionality issues in WSL and similar environments. Your issue specifically highlights the problem with sharing commands (share, copy transcript, copy last message) not copying to clipboard in WSL, which may be part of a broader WSL clipboard handling issue. Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3709