mirror of
https://github.com/openai/codex.git
synced 2026-11-07 20:30:33 +00:00
## What changed Render prepared UI trees within a viewport's width and height, preserving authored line breaks and wrapping text while retaining styles and hyperlink ranges. - Add `wrap: "wrap"` for rows to move children onto additional lines; keep `nowrap` as the default. - Allocate space to row children while reserving later siblings' minimum widths. - Mark horizontal clipping and vertical overflow with an unlinked ellipsis, including in single-line rendering. - Respect word hyphens across style boundaries and nonbreaking spaces when wrapping. ## Testing Add regression tests for nested row wrapping, sibling width allocation, hyperlink offsets and clipping, and word boundaries. Add a buffer snapshot covering authored line breaks, collapsed whitespace, styles, and links. GitOrigin-RevId: fdfbdee92808c0a8f55e2fdf11db95d68a76d9a5