v / vlib / clipboard / README.md
16 lines · 12 sloc · 277 bytes · d485cceee81b436b383cf826881815a60237a704
Raw

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

import clipboard

fn main() {
    mut c := clipboard.new()
    println(c.get_text())
}