feat: add text clipboard copy/read with mouse selection support

Add cross-platform text clipboard operations (macOS, Linux, Windows)
with OSC 52 support for SSH/tmux environments. Wire up onMouseUp and
Ctrl+Y in the TUI to copy selected text to the system clipboard via
OpenTUI's renderer selection API.
This commit is contained in:
2026-02-06 11:01:08 -05:00
parent 8adf48abd3
commit 101300b103
17 changed files with 983 additions and 87 deletions

View File

@@ -11,8 +11,8 @@
"dev": "bun src/index.ts",
"dev:nobump": "bun scripts/build.ts && npm link",
"dev:watch": "bun scripts/dev-watch.ts",
"dev:debug": "bun --inspect=localhost:6499 src/index.ts",
"dev:debug-brk": "bun --inspect-brk=localhost:6499 src/index.ts",
"dev:debug": "bun --inspect=localhost:6499/debug src/index.ts",
"dev:debug-brk": "bun --inspect-brk=localhost:6499/debug src/index.ts",
"build": "bun scripts/build.ts",
"sync-version": "bun scripts/sync-version.ts",
"start": "bun src/index.ts",