mirror of
https://github.com/openai/codex.git
synced 2026-11-20 22:40:37 +00:00
## What changed Replace generic `Hook 1` labels with trimmed `status_message` titles, falling back to `Unnamed hook` when the message is missing or blank. Show aligned, dimmed row numbers alongside the titles and retain trust-status suffixes. Render rows with `Paragraph` to preserve full-row selection styling and per-span dimming, including titles containing wide characters and emoji. ## Testing Add snapshot and buffer assertions for title trimming, blank and missing messages, wide characters, selection styling, and dimmed indices. Update snapshots for long-title truncation and scrolling across two-digit row numbers. GitOrigin-RevId: a9b20ea91e7252b6399d1c8a9fa849186f16a651