Skip to main content

clipboard_read_event

Function clipboard_read_event 

Source
pub fn clipboard_read_event(tag: String, text: String) -> PluginEvent
Expand description

The event one answered clipboard_read(tag) reaches the script as: on_clipboard(tag, text), with a per-tag on("clipboard", tag, fn) winning. A clipboard holding no text answers with empty text, so a script waiting on the read can still clear its pending state.