Files
codex/codex-rs/tui
Eric Traut e649c6d74c Fix Unicode grapheme highlighting in history search (#61725)
## 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
2026-11-16 02:40:38 +00:00
..