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. |
||
|---|---|---|
| .. | ||
| bun | ||
| cli | ||
| core | ||
| extensions | ||
| modes | ||
| utils | ||
| cli.ts | ||
| config.ts | ||
| index.ts | ||
| main.ts | ||
| migrations.ts | ||
| package-manager-cli.ts | ||
| rpc-entry.ts | ||