Skip to main content

copy

Function copy 

Source
pub async fn copy(text: &str, emit: impl Fn(&str)) -> Result<(), String>
Expand description

Copies text. Terminal output (OSC 52) goes through emit.