Skip to content

Commit c6a46e4

Browse files
committed
Fix reading text from clipboard via electron fill
1 parent 3fae68b commit c6a46e4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/ide/src/fill/electron.ts

+4
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,10 @@ class Clipboard {
182182
public writeText(value: string): Promise<void> {
183183
return clipboard.writeText(value);
184184
}
185+
186+
public readText(): Promise<string> {
187+
return clipboard.readText();
188+
}
185189
}
186190

187191
class Shell {

0 commit comments

Comments
 (0)