Repository navigation
Add configurable copy-on-select for transcript selections - #47639
Merged
copyberry[bot] merged 1 commit intoSep 23, 2026
Conversation
## What changed - Add `tui.copy_on_select` with `auto` (default), `always`, and `never` modes, and apply it to the fullscreen transcript, transcript overlay, and resume/fork previews. - Enable `auto` in tmux and Zellij, and in direct macOS terminals except Ghostty and Kitty. On other platforms, enable it in direct terminals identified as iTerm2 or Terminal.app. - Copy nonempty mouse selections on release, including word and line selections, while retaining their highlight. Preserve link activation and ignore empty selections. - Clear composer selections after confirmed keyboard copies, matching right-click copies, while preserving the draft and cursor. Keep selections when copying fails or delivery is unconfirmed. ## Testing Add coverage for terminal defaults and configuration overrides, copying on release, retained highlights, repeated clicks, link activation, and empty drags. Extend composer coverage to verify selection clearing for `Cmd-C`, `Ctrl-C`, and right-click across clipboard outcomes. GitOrigin-RevId: 24e6f9e267ef3ab249c5356db736e094127f68b8
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/24e6f9e267ef3ab249c5356db736e094127f68b8
branch
from
September 23, 2026 19:37
b883ec5 to
ab021e9
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/24e6f9e267ef3ab249c5356db736e094127f68b8
branch
September 23, 2026 19:37
sparticlesteve
temporarily deployed
to
issue-triage
September 23, 2026 19:41 — with
GitHub Actions
Inactive
sparticlesteve
temporarily deployed
to
issue-triage
September 23, 2026 19:41 — with
GitHub Actions
Inactive
sparticlesteve
temporarily deployed
to
issue-triage
September 23, 2026 19:41 — 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 configurable copy-on-select for transcript selections
What changed
tui.copy_on_selectwithauto(default),always, andnevermodes, and apply it to the fullscreen transcript, transcript overlay, and resume/fork previews.autoin tmux and Zellij, and in direct macOS terminals except Ghostty and Kitty. On other platforms, enable it in direct terminals identified as iTerm2 or Terminal.app.Testing
Add coverage for terminal defaults and configuration overrides, copying on release, retained highlights, repeated clicks, link activation, and empty drags. Extend composer coverage to verify selection clearing for
Cmd-C,Ctrl-C, and right-click across clipboard outcomes.