Repository navigation
Add X11 primary selection and middle-click paste support - #49112
Merged
copyberry[bot] merged 1 commit intoSep 29, 2026
Merged
copyberry[bot] merged 1 commit into
copyberry[bot] merged 1 commit into
Conversation
## What changed - Publish released mouse selections from both transcript views to X11 `PRIMARY` as plain text, even when copy-on-select is disabled. Preserve configured `CLIPBOARD` copying when it is enabled. - Paste `PRIMARY` into the editable fullscreen composer on middle-click, including while a transcript selection remains active. - Limit support to local Linux X11 sessions, excluding Wayland, SSH, tmux, WSL, and VS Code terminals. - Retain the latest deferred selection publication and order it before a pending `PRIMARY` read, while giving explicit copies priority. Cancel stale deferred work when its selection or paste target is invalidated. - Clarify that scrollback mode uses native terminal copy, paste, and scrollback. ## Testing Add regression tests for selection publication with copy-on-select enabled and disabled, publication-before-read ordering, explicit-copy priority, cancellation of deferred work, and middle-click paste invalidation. GitOrigin-RevId: 6ba7bddffda60183b7f9ad5cd69a97da8a4a8dcd
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/6ba7bddffda60183b7f9ad5cd69a97da8a4a8dcd
branch
from
September 29, 2026 00:41
45fc336 to
0196495
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/6ba7bddffda60183b7f9ad5cd69a97da8a4a8dcd
branch
September 29, 2026 00:41
hoehoe5252-yong
temporarily deployed
to
issue-triage
September 29, 2026 00:43 — with
GitHub Actions
Inactive
hoehoe5252-yong
temporarily deployed
to
issue-triage
September 29, 2026 00:43 — with
GitHub Actions
Inactive
hoehoe5252-yong
temporarily deployed
to
issue-triage
September 29, 2026 00:43 — with
GitHub Actions
Inactive
hoehoe5252-yong
temporarily deployed
to
issue-triage
September 29, 2026 00:44 — with
GitHub Actions
Inactive
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add X11 primary selection and middle-click paste support
What changed
PRIMARYas plain text, even when copy-on-select is disabled. Preserve configuredCLIPBOARDcopying when it is enabled.PRIMARYinto the editable fullscreen composer on middle-click, including while a transcript selection remains active.PRIMARYread, while giving explicit copies priority. Cancel stale deferred work when its selection or paste target is invalidated.Testing
Add regression tests for selection publication with copy-on-select enabled and disabled, publication-before-read ordering, explicit-copy priority, cancellation of deferred work, and middle-click paste invalidation.