mirror of
https://github.com/openai/codex.git
synced 2026-10-19 17:28:46 +00:00
## Why Accepting a Find result must not let a held `Enter` submit the composer draft, including when terminals report repeated keys as fresh presses. ## What changed - Make `Enter` accept the displayed result for reading, while `Ctrl+P` and `Ctrl+N` navigate older and newer matches. - Make `Escape` cancel query editing and restore the pre-search presentation; after acceptance, it returns to the latest transcript content. - Consume unmodified `Enter` while reading a result, but let modified `Enter` reach configured composer bindings. - Update footer hints to show acceptance, cancellation, and the active Find state. ## Testing Extend input-routing coverage for repeated `Enter` presses and modified composer bindings. Update search tests and footer snapshots for acceptance, cancellation, and result navigation. GitOrigin-RevId: 2a2b7c389240ffa941e3623d7fb7d877455fa9a5