GitHub Action 1 месяц назад
Родитель
Сommit
eaa0826e7f
1 измененных файлов с 1 добавлено и 1 удалено
  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")
       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()
       }
     }