Skip to content

Add keyboard copy selection to the owned transcript - #50434

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/bd4f58ec17568f95d0e91014e5ddba33ca8bd57c
Oct 2, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/bd4f58ec17568f95d0e91014e5ddba33ca8bd57c

Conversation

@copyberry

@copyberry copyberry Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

Add keyboard copy selection to the owned transcript

What changed

  • Make /copy select the latest completed response directly in the owned transcript. Navigate user messages, code blocks, and blockquotes with arrow keys or j/k, use g/G to jump to the ends, and press Enter to copy or Escape to close.
  • Highlight selected blocks and keep surrounding context visible during navigation and resizing. Preserve source payloads for code and quotes, including rendered Mermaid diagrams and fenced Markdown tables.
  • Pause queued submissions until copy mode closes, and report clipboard results in the transcript footer.

Testing

Add tests for copy routing, keyboard navigation, highlighting and resize behavior, source whitespace and line endings, clipboard completion, and queued-input resumption.

## What changed

- Make `/copy` select the latest completed response directly in the owned transcript. Navigate user messages, code blocks, and blockquotes with arrow keys or `j`/`k`, use `g`/`G` to jump to the ends, and press Enter to copy or Escape to close.
- Highlight selected blocks and keep surrounding context visible during navigation and resizing. Preserve source payloads for code and quotes, including rendered Mermaid diagrams and fenced Markdown tables.
- Pause queued submissions until copy mode closes, and report clipboard results in the transcript footer.

## Testing

Add tests for copy routing, keyboard navigation, highlighting and resize behavior, source whitespace and line endings, clipboard completion, and queued-input resumption.

GitOrigin-RevId: bd4f58ec17568f95d0e91014e5ddba33ca8bd57c
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/bd4f58ec17568f95d0e91014e5ddba33ca8bd57c branch from 9f6bc5b to c536ffc Compare October 2, 2026 21:42
@copyberry
copyberry Bot merged commit c536ffc into main Oct 2, 2026
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/bd4f58ec17568f95d0e91014e5ddba33ca8bd57c branch October 2, 2026 21:42
@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@github-actions github-actions Bot locked and limited conversation to collaborators Oct 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant