pub fn write_text(text: &str) -> Result<()>Expand description
Write text to the system clipboard. Mirrors read_text’s backend
detection and shells out to the platform tool (no extra dependency):
wl-copy / xclip / pbcopy / PowerShell Set-Clipboard. Used by the
in-app drag-select copy path.