From c6a46e47538f61f248f6956b5cddb9f919aa380b Mon Sep 17 00:00:00 2001 From: Kyle Carberry Date: Sun, 14 Apr 2019 00:32:03 -0400 Subject: [PATCH] Fix reading text from clipboard via electron fill --- packages/ide/src/fill/electron.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/ide/src/fill/electron.ts b/packages/ide/src/fill/electron.ts index bbc1f48b..f0ec6dc6 100644 --- a/packages/ide/src/fill/electron.ts +++ b/packages/ide/src/fill/electron.ts @@ -182,6 +182,10 @@ class Clipboard { public writeText(value: string): Promise { return clipboard.writeText(value); } + + public readText(): Promise { + return clipboard.readText(); + } } class Shell {