mirror of
https://github.com/openai/codex.git
synced 2026-10-19 17:28:46 +00:00
## Why Hook system messages were rendered as plain text, leaving ANSI formatting uninterpreted. ## What changed Parse hook system messages into styled spans so colors and text styles render across lines. Preserve hook prefixes, continuation indentation, and trailing blank lines. ## Testing Add a snapshot test for multiline ANSI styling and style resets, and extend multiline coverage to include a combining character and a trailing newline. GitOrigin-RevId: 0a5a88ec26fac114fc66efa656bacf6fa15a1adf