arboard requires the owning process to be alive to serve clipboard selections on X11/Wayland. When rustpg exits, any content it placed on the clipboard disappears. Fix: before exiting, fork a wl-copy (Wayland) or xclip (X11) subprocess that takes ownership and serves the content independently of the main process lifetime.
arboard requires the owning process to be alive to serve clipboard selections on X11/Wayland. When rustpg exits, any content it placed on the clipboard disappears. Fix: before exiting, fork a `wl-copy` (Wayland) or `xclip` (X11) subprocess that takes ownership and serves the content independently of the main process lifetime.