mirror of
https://github.com/vlang/v.git
synced 2025-09-14 15:02:33 +03:00
16 lines
279 B
Markdown
16 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())
|
|
}
|
|
```
|