mirror of
https://github.com/danog/code-server.git
synced 2024-11-27 04:45:52 +01:00
Fix reading text from clipboard via electron fill
This commit is contained in:
parent
3fae68bbab
commit
c6a46e4753
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user