summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGitHub Action <[email protected]>2026-01-07 03:42:44 +0000
committerGitHub Action <[email protected]>2026-01-07 03:42:44 +0000
commiteaa0826e7fa3aa5a52d670dad0dce92108843700 (patch)
treef3e17b6540cf2fb1b2b82838e8814419ceea354e
parentf6055ad3d26a008661410f89221dad412e3fc481 (diff)
downloadopencode-eaa0826e7fa3aa5a52d670dad0dce92108843700.tar.gz
opencode-eaa0826e7fa3aa5a52d670dad0dce92108843700.zip
chore: generate
-rw-r--r--packages/opencode/src/cli/cmd/tui/util/clipboard.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/opencode/src/cli/cmd/tui/util/clipboard.ts b/packages/opencode/src/cli/cmd/tui/util/clipboard.ts
index 8963867ee..9c91cf305 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()
}
}