pub async fn copy(text: &str, emit: impl Fn(&str)) -> Result<(), String>
Copies text. Terminal output (OSC 52) goes through emit.
text
emit