Documentation
¶
Overview ¶
Command clipboardprobe live-verifies the clipboard flavor interfaces (#513) against the real system clipboard.
CLI mode (desktop): run one operation and exit, e.g.
go run ./hack/clipboardprobe caps go run ./hack/clipboardprobe set-html '<b>bold</b>' 'bold' go run ./hack/clipboardprobe get-image /tmp/out.png
Managed CLI mode (Linux): --run executes the operation inside the running app — clipboard access there needs the initialized GLFW loop, Wayland additionally needs the window focused, and after a set the process must stay alive to serve the X11 selection / Wayland data source:
go run ./hack/clipboardprobe --run set-image # serves until killed go run ./hack/clipboardprobe --run get-image /tmp/out.png
UI mode (no args): a button-per-operation window, needed on wasm where clipboard access must happen inside a user gesture.