mirror of
https://github.com/openai/codex.git
synced 2026-11-23 23:10:47 +00:00
## Why Mapping the logo to a fixed character grid can stretch it when terminal cells have different pixel proportions. ## What changed Use the terminal's pixel and grid dimensions to scale the logo uniformly and keep it centered in the space reserved for it. Use the original grid mapping when usable pixel dimensions are unavailable. Refresh the cached dimensions after resize or resume in onboarding, startup draft input, and the main TUI, even if the grid size is unchanged. ## Testing Update the settled onboarding logo snapshot to cover a HiDPI terminal with 11 × 25.5 logical pixels per cell. GitOrigin-RevId: 3a8a504e00ba80ba0acc421a8b48f64c73e465aa