[PR #7177] test: cover powershell clipboard escaping #12285

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

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

State: open
Merged: No


Summary

  • add a dedicated PowerShell escaping helper for clipboard writes (backticks and quotes)
  • reuse the helper in the Windows clipboard path to match recent PowerShell fixes
  • add a unit test to guard the escaping behavior

Testing

  • bun test packages/opencode/test/clipboard.test.ts
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/7177 **State:** open **Merged:** No --- ## Summary - add a dedicated PowerShell escaping helper for clipboard writes (backticks and quotes) - reuse the helper in the Windows clipboard path to match recent PowerShell fixes - add a unit test to guard the escaping behavior ## Testing - bun test packages/opencode/test/clipboard.test.ts
yindo added the pull-request label 2026-02-16 18:17:12 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12285