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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user