Skip to main content

copy

Function copy 

Source
pub fn copy(text: &str)
Expand description

Ask the terminal to put text on the clipboard (OSC 52): kitty, iTerm2, WezTerm and others do (tmux when its set-clipboard lets it through); the rest ignore it. Whether it took cannot be known.