Files
codex/codex-rs/tui
Felipe Coury da92371925 Use an in-memory clipboard in TUI tests (#64797)
## 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
2026-11-30 19:37:56 +00:00
..