mirror of
https://github.com/openai/codex.git
synced 2026-10-28 18:58:46 +00:00
## Why Leaving transcript selection with a held key can send repeated input to the composer and submit a preserved draft. ## What changed - Route the transcript selection shortcut and selection controls in both the owned transcript and transcript overlay, preserving drafts and ignoring pastes outside search. - Give fixed selection controls and pager motions precedence over conflicting key chords while allowing search and voice controls. - Consume held exit keys across selection dismissal and asynchronous copy completion, and require fresh presses for composer submit and queue actions. - Initialize overlay selection against the refreshed transcript frame and complete selection navigation when older history finishes loading. ## Testing Add regression coverage for draft preservation, repeated `Enter` events, selection and search key precedence, refreshed-frame selection, and pending copy exit-key cleanup. GitOrigin-RevId: 6cca9f399af1d49ff79337ae745cfc1564a14b88