Implement write support for clipboard_x11

This commit is contained in:
Héctor Ramón Jiménez 2021-03-06 04:34:02 +01:00
parent aeda90d4ef
commit a97dfae8f6
11 changed files with 496 additions and 185 deletions

View file

@ -13,4 +13,8 @@ impl ClipboardProvider for clipboard_macos::Clipboard {
fn read(&self) -> Result<String, Box<dyn Error>> {
self.read()
}
fn write(&mut self, contents: String) -> Result<(), Box<dyn Error>> {
self.write(contents)
}
}