Codex Terminal line-height mismatch breaks prompt rendering

Open 💬 1 comment Opened Jul 31, 2026 by ybian

What version of the Codex App are you using (From “About Codex” dialog)?

26.727.40816

What subscription do you have?

Plus

What platform is your computer?

Darwin 24.6.0 arm64 arm

What issue are you seeing?

The embedded Terminal uses inconsistent rendering heights: ANSI background colors fill a 40 px character cell, while Unicode block glyphs such as █▓▒░ render at only 34 px. In Terminal.app, both render at 34 px and align correctly.

Reproduction:

printf '\e[48;2;30;144;255m      \e[0m \e[38;2;30;144;255m█▓▒░\e[0m\n'

This creates visible vertical gaps and misalignment in Powerline-style prompts and affects many terminal themes that combine ANSI backgrounds with graphical glyphs.

Expected: background fills and block glyphs should share the same visual height.

Thanks!

What steps can reproduce the bug?

Feedback ID: 019fb12b-a053-72f2-9e39-aa2d5f8a0198

What is the expected behavior?

background fills and block glyphs should share the same visual height.

Additional information

_No response_

View original on GitHub ↗

1 Comment

ybian · 27 days ago

To clarify, i meant the "terminal" tab in the macOS codex/ChatGPT app.