mirror of
https://github.com/openai/codex.git
synced 2026-11-16 22:00:36 +00:00
## Why Ctrl+R history search highlights need to cover whole grapheme clusters so that matches on combining marks highlight the visible character. ## What changed - Map case-insensitive matches to grapheme boundaries and deduplicate identical highlight ranges. - Segment the separately rendered `!` bash prompt independently from the textarea so a prompt-only match does not highlight the command body. ## Testing Extend match-range tests for repeated combining marks and rendering coverage for combining-mark matches and prompt-only matches. GitOrigin-RevId: d8f5c5ebb06b1130153b3cfbc8631342a57cfa1c