[PR #9293] fix: Windows evaluating text on copy #13058

Closed
opened 2026-02-16 18:17:56 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/9293

State: closed
Merged: Yes


What does this PR do?

Fixes #8166

copying text like

image

on windows would expand these variables because it uses powershell

changes to use stdin - the same as linux clipboard

I found a duplicate PR - however mine stays consistent with linux
https://github.com/anomalyco/opencode/pull/8150

How did you verify your code works?

copying the same text on latest release and my branch on windows

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/9293 **State:** closed **Merged:** Yes --- ### What does this PR do? Fixes [#8166](https://github.com/anomalyco/opencode/issues/8166) copying text like <img width="874" height="264" alt="image" src="https://github.com/user-attachments/assets/0aa512c8-2549-49e5-aee1-a221238eebdb" /> on windows would expand these variables because it uses powershell changes to use stdin - the same as linux clipboard I found a duplicate PR - however mine stays consistent with linux https://github.com/anomalyco/opencode/pull/8150 ### How did you verify your code works? copying the same text on latest release and my branch on windows
yindo added the pull-request label 2026-02-16 18:17:56 -05:00
yindo closed this issue 2026-02-16 18:17:56 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13058