mirror of
https://github.com/openai/codex.git
synced 2026-11-25 23:30:49 +00:00
## Why Copying a whole message can leave the overlay showing “Copying selection…” because the copy has no active selection to receive the clipboard result. ## What changed Track which clipboard request owns the notice so its completion can show success or failure even without an active selection. Older results leave a newer notice intact. Track the last rendered transcript width for resize detection and render prewrapped rows without hyperlinks using Ratatui’s `Paragraph`. ## Testing Add a snapshot test that checks pending, failure, and success notices without a selection, verifies that an older result leaves the notice intact, and confirms the overlay stays open. GitOrigin-RevId: c4076ccc425240ca39af9fd5c8cf6fca96303dda