mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
The /copy command always set copied=true after spawning wl-copy without awaiting its exit code. When wl-copy fails (e.g. in a sandboxed environment that inherits WAYLAND_DISPLAY but not the socket), the xclip/OSC 52 fallbacks never ran because copied was already true. Fix: await the wl-copy spawn exit code and only claim success on exit code 0. On failure, fall through to the x11 clipboard fallback. Fixes #6872. |
||
|---|---|---|
| .. | ||
| agent | ||
| ai | ||
| coding-agent | ||
| server | ||
| storage/sqlite-node | ||
| tui | ||