Skip to main content

paste_exact

Function paste_exact 

Source
async fn paste_exact(
    screen: &Screen,
    clip: Option<&Arc<Clipboard>>,
    text: &str,
    held: &[u8],
) -> Result<(), String>
Expand description

Paste text exactly: offer it as the screen’s clipboard and press Ctrl+V (the other modifiers the person holds are let go for the while, and pressed again). The offer ends a moment later, so nothing stays on the screen’s clipboard for the browser to read on its own.