Fix reading text from clipboard via electron fill

This commit is contained in:
Kyle Carberry 2019-04-14 00:32:03 -04:00
parent 3fae68bbab
commit c6a46e4753
No known key found for this signature in database
GPG Key ID: A0409BDB6B0B3EDB
1 changed files with 4 additions and 0 deletions

View File

@ -182,6 +182,10 @@ class Clipboard {
public writeText(value: string): Promise<void> {
return clipboard.writeText(value);
}
public readText(): Promise<string> {
return clipboard.readText();
}
}
class Shell {