Skip to main content

yank

Function yank 

Source
pub fn yank(text: String, done_msg: impl Into<String>, tx: &AppTx)
Expand description

Put text on the OS clipboard and flash the outcome: done_msg on success, "clipboard: {e}" on failure. The seam for every OS-clipboard write in the TUI — list-row yanks, ask answers and sources, and the editor’s own Ctrl+C/Ctrl+X.