Skip to content

terminal: probe OSC 52 clipboard support#1168

Open
simonklee wants to merge 3 commits into
mainfrom
ot-clipboard-and-paste
Open

terminal: probe OSC 52 clipboard support#1168
simonklee wants to merge 3 commits into
mainfrom
ot-clipboard-and-paste

Conversation

@simonklee

Copy link
Copy Markdown
Member

Treat missing or negative replies as inconclusive so clipboard writes remain
available unless support is explicitly rejected. Stream large payloads through
tmux and bounded GNU Screen frames to avoid fixed-buffer failures.

Treat missing or negative replies as inconclusive so clipboard writes remain
available unless support is explicitly rejected. Stream large payloads through
tmux and bounded GNU Screen frames to avoid fixed-buffer failures.
@simonklee simonklee self-assigned this Jun 11, 2026
Accept raw UTF-8 text at the FFI boundary to avoid relying on the
Node-specific Buffer API. Precompute the encoded sequence size so large
clipboard writes use one bounded allocation across plain, tmux, and Screen
terminals.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant