2022-01-05 17:06:08 +01:00
|
|
|
## Description:
|
|
|
|
|
|
|
|
`clipboard` provides access to the platform's clipboard mechanism.
|
|
|
|
You can use it to read from the system clipboard, and write to it
|
|
|
|
from your applications.
|
2022-01-07 12:28:50 +01:00
|
|
|
|
|
|
|
## Examples:
|
|
|
|
|
|
|
|
```v
|
|
|
|
import clipboard
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
mut c := clipboard.new()
|
|
|
|
println(c.get_text())
|
|
|
|
}
|
|
|
|
```
|