From 77aa35ac9449e4f30af012f313acae2d7d570e01 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Wed, 13 Mar 2024 12:43:45 -0700 Subject: [PATCH] fix: wait for clipboard copy --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 33ab0f7..c829afe 100644 --- a/src/main.ts +++ b/src/main.ts @@ -322,7 +322,7 @@ const AltCmdIShortcutHandler = async () => { i++; } - await sleep(100); + await sleep(500); const prompt = await clipboard.readText(); console.log(prompt);