Skip to main content

write_primary

Function write_primary 

Source
pub fn write_primary(text: impl Into<String>) -> Task<Result<(), Error>>
Expand description

Publish the given text as the primary selection.

Does not touch the clipboard: the two are separate selections, and copy-on-select must not overwrite what the user last copied.