Skip to content

Commit 091b06b

Browse files
committed
chore: clarify clipboard fallback and add TODO comments
1 parent 3368723 commit 091b06b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/server/InputHandler.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ export class InputHandler {
209209
case "clipboard-push": {
210210
if (msg.text) {
211211
// TEMP: fallback using typing instead of real clipboard
212+
// TODO: Replace with native clipboard write
212213
try {
213214
await keyboard.type(msg.text)
214215
} catch (err) {
@@ -235,7 +236,7 @@ export class InputHandler {
235236
// ❗ send back to client (IMPORTANT)
236237
this.sendToClient({
237238
type: "clipboard-text",
238-
text: "CLIPBOARD_DATA_UNAVAILABLE",
239+
text: "Clipboard data temporarily unavailable",
239240
})
240241
break
241242
}

0 commit comments

Comments
 (0)