Files
bun.sh/test/js
Jarred Sumner 33fb0dea71 feat(repl): add .copy command with OSC 52 clipboard support
.copy with no args copies _ (last result) to clipboard.
.copy <expr> evaluates the expression and copies the result.
Strings are copied raw (not quoted), other values use Bun.inspect.

Adds strings.ANSISkipper to strip ANSI escape sequences before
encoding to clipboard. Uses bun.base64 for the OSC 52 payload.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-24 00:37:54 -08:00
..
2026-02-18 18:08:10 -08:00