opencode icon indicating copy to clipboard operation
opencode copied to clipboard

test: cover powershell clipboard escaping

Open T1mn opened this issue 1 week ago • 1 comments

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

T1mn avatar Jan 07 '26 07:01 T1mn