Skip to content

Commit 23c7741

Browse files
committed
fix: osascript for clipboard typo
1 parent f9d5e18 commit 23c7741

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/opencode/src/cli/cmd/tui/util/clipboard.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export namespace Clipboard {
6161
const getCopyMethod = lazy(() => {
6262
const os = platform()
6363

64-
if (os === "darwin" && Bun.which("oascript")) {
64+
if (os === "darwin" && Bun.which("osascript")) {
6565
console.log("clipboard: using osascript")
6666
return async (text: string) => {
6767
const escaped = text.replace(/\\/g, "\\\\").replace(/"/g, '\\"')

0 commit comments

Comments
 (0)