You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm sure this is not a priority, but just letting you guys know attachements dont work in WSL.
When I paste an image for example, nothing is happening.
If I point to a file on windows ex C:\Users\xxx\Pictures\Screenshots\image.png it says "I can't access the file at that Windows path from this Linux environment."
The main issue here (clipboard image paste in WSL) was fixed in Nov 2025 via PR #4123. If you're on a recent version, Ctrl+V image paste should work.
For the Windows path issue (C:\Users\... not being recognized), there's an open PR #8209 that adds automatic path conversion. In the meantime, you can manually convert paths:
Activity
ak127a commentedon Aug 26, 2025
any updates on this?
rekram1-node commentedon Sep 24, 2025
@itsrainingmani
sai-sy commentedon Sep 30, 2025
What terminal are you using. I'm using wezterm and facing the same issue.
Might need an image renderer
R44VC0RP commentedon Jan 25, 2026
The main issue here (clipboard image paste in WSL) was fixed in Nov 2025 via PR #4123. If you're on a recent version,
Ctrl+Vimage paste should work.For the Windows path issue (
C:\Users\...not being recognized), there's an open PR #8209 that adds automatic path conversion. In the meantime, you can manually convert paths:C:\Users\tommy\image.png→/mnt/c/Users/tommy/image.pngClosing as the core functionality is fixed. Thanks for the report!
amirasyraf commentedon Feb 18, 2026
@R44VC0RP is the fix there only for a specific terminal emulator (i.e. wezterm)?
I'm on latest opencode and Windows Terminal and image paste doesn't work
Yousa-Mirage commentedon Feb 24, 2026
The same.
turazashvili commentedon Mar 4, 2026
+1
lwkrakowai-maker commentedon Apr 8, 2026
+1
FilJed commentedon Apr 10, 2026
+1
amirasyraf commentedon Apr 10, 2026
The fix is:
in your opencode config
Thanks to dansan92: #1429 (comment)
FilJed commentedon Apr 12, 2026
Confirm it's working. Thank you!
lwkrakowai-maker commentedon Apr 14, 2026