Implement and expose read and write helpers for clipboard

This commit is contained in:
Héctor Ramón Jiménez 2021-09-02 15:12:55 +07:00
parent 6887afdb2c
commit 7a335a0408
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
4 changed files with 22 additions and 1 deletions

3
src/clipboard.rs Normal file
View file

@ -0,0 +1,3 @@
//! Access the clipboard.
#[cfg(not(target_arch = "wasm32"))]
pub use crate::runtime::clipboard::{read, write};

View file

@ -183,6 +183,7 @@ mod error;
mod result;
mod sandbox;
pub mod clipboard;
pub mod executor;
pub mod keyboard;
pub mod mouse;