Skip to main content

clipboard_copy

Function clipboard_copy 

pub fn clipboard_copy(text: &str)
Expand description

Push text onto the system clipboard — the Ctrl+C buffer.

Routes to the current host’s clipboard; see crate::clipboard. Without a system clipboard the copy stays inside this process, and the native host says so in the log when it does.