mirror of
https://github.com/openai/codex.git
synced 2026-10-22 17:58:46 +00:00
## Why Transcript selections could include a newline without showing it in the highlight, making `code` and `code\n` look identical. ## What changed Highlight one trailing cell for selected hard line breaks when space permits, including newline separators between transcript entries. Track logical line endings so soft wraps and synthetic rows do not receive newline highlights. ## Testing Add selection snapshots for hard breaks within and between entries, plus layout coverage for empty lines, wrapping, trailing whitespace, and synthetic rows. Update the app selection test to assert the leading newline highlight. GitOrigin-RevId: d6f332c472598a3f79557b7ebb41730c6acc7820