The open source coding agent.
TypeScript
chore: generate
GitHub Actioneaa0826e7fa3
diff --git a/packages/opencode/src/cli/cmd/tui/util/clipboard.ts b/packages/opencode/src/cli/cmd/tui/util/clipboard.tsindex 8963867ee3c..9c91cf3055a 100644--- a/packages/opencode/src/cli/cmd/tui/util/clipboard.ts+++ b/packages/opencode/src/cli/cmd/tui/util/clipboard.ts@@ -111,7 +111,7 @@ export namespace Clipboard {console.log("clipboard: using powershell")return async (text: string) => {// need to escape backticks because powershell uses them as escape code- const escaped = text.replace(/"/g, '""').replace(/`/g, '``')+ const escaped = text.replace(/"/g, '""').replace(/`/g, "``")await $`powershell -NonInteractive -NoProfile -Command "Set-Clipboard -Value \"${escaped}\""`.nothrow().quiet()}}