Browse Source

chore: generate

GitHub Action 1 month ago
parent
commit
eaa0826e7f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/opencode/src/cli/cmd/tui/util/clipboard.ts

+ 1 - 1
packages/opencode/src/cli/cmd/tui/util/clipboard.ts

@@ -111,7 +111,7 @@ export namespace Clipboard {
       console.log("clipboard: using powershell")
       console.log("clipboard: using powershell")
       return async (text: string) => {
       return async (text: string) => {
         // need to escape backticks because powershell uses them as escape code
         // 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()
         await $`powershell -NonInteractive -NoProfile -Command "Set-Clipboard -Value \"${escaped}\""`.nothrow().quiet()
       }
       }
     }
     }