We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6055ad commit eaa0826Copy full SHA for eaa0826
packages/opencode/src/cli/cmd/tui/util/clipboard.ts
@@ -111,7 +111,7 @@ export namespace Clipboard {
111
console.log("clipboard: using powershell")
112
return async (text: string) => {
113
// need to escape backticks because powershell uses them as escape code
114
- const escaped = text.replace(/"/g, '""').replace(/`/g, '``')
+ const escaped = text.replace(/"/g, '""').replace(/`/g, "``")
115
await $`powershell -NonInteractive -NoProfile -Command "Set-Clipboard -Value \"${escaped}\""`.nothrow().quiet()
116
}
117
0 commit comments