clipboard icon indicating copy to clipboard operation
clipboard copied to clipboard

๐Ÿ“‹ cross-platform clipboard package that supports accessing text and image in Go (macOS/Linux/Windows/Android/iOS)

Results 33 clipboard issues
Sort by recently updated
recently updated
newest added

I am working on a feature for [freeze](https://github.com/charmbracelet/freeze) that copies the generated image and this are the resulting images if not using a `PNG` format. - `.webp` ![image](https://github.com/golang-design/clipboard/assets/71392160/da286c89-d81e-474c-ac85-e274d4b26d8e) - `.svg`...

Would be nice for web apps

I am not sure if this is expected behavior on my platform or not, but I am experiencing the following: 1. When writing text data to clipboard, I can exit...

Especially `golang.org/x/image` had a few security vulnerabilities fixed. This PR updates the go libraries to the latest available version while not bumping major versions. Update was performed via Renovate and...

Hey, I was trying to copy bytes to my clipboard using this library using ``` clipboard.Write(clipboard.FmtText, []byte(id)) ``` But it immediately crashes, with this error: ``` โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ โ”‚ File: err.log...

## Summary - add `defer ti.Stop()` to cleanup tickers in all OS watch implementations ## Testing - `go vet ./...` *(fails: `GLES3/gl3.h` missing)* - `go test ./...` *(fails: X11/display not...

codex

## Summary - ensure TestClipboardWatch waits for the watch channel to close - prevent blocking by using select with timeout ## Testing - `go test ./...` *(fails: missing GLES3/gl3.h and...

codex

Fix the problem that MacOS cannot read TIFF images