mirror of
https://github.com/openai/codex.git
synced 2026-12-02 00:31:03 +00:00
## Why TUI copy tests can verify the text sent to the clipboard and `PRIMARY` without depending on the host clipboard or waiting for a background worker. ## What changed Give each test TUI its own in-memory clipboard and `PRIMARY` selection. Handle requests inline and expose completions through the normal worker polling path. ## Testing Assert copied text in transcript, sidebar preview, and turn tip tests. Verify that a second TUI's copy leaves the first TUI's Markdown clipboard text and plain-text `PRIMARY` selection available for paste. GitOrigin-RevId: 159845b17f0dac26b4b12c3851c101afe8d21d2d