mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
17 lines
279 B
Markdown
17 lines
279 B
Markdown
## 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.
|
|
|
|
## Examples:
|
|
|
|
```v
|
|
import clipboard
|
|
|
|
fn main() {
|
|
mut c := clipboard.new()
|
|
println(c.get_text())
|
|
}
|
|
```
|