TUI fails rendering for latex code

Open 💬 3 comments Opened Jul 13, 2026 by jchy20

What version of Codex CLI is running?

v0.144.3

What subscription do you have?

pro

Which model were you using?

_No response_

What platform is your computer?

Linux 5.14.0-503.40.1.el9_5.x86_64 x86_64 x86_64

What terminal emulator and version are you using (if applicable)?

iTerm2

Codex doctor report

What issue are you seeing?

Substantial TUI rendering incompatibility with codex output in latex.

\[
\sigma_{\ell,m}[i,j]
=
\operatorname{std}_s D_{\ell,m,s}[i,j]
\]

What steps can reproduce the bug?

Uploaded thread: 019f52dd-b847-79e3-9e5f-b9ed434b7c90

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

3 Comments

willmargs · 1 month ago

yeah, codex can't render latex, no good

bernaferrari · 1 month ago
imvladikon · 29 days ago

I implemented it here. Please take a look:
https://github.com/imvladikon/codex/tree/feat/latex-rendering
and I’ll try to open a PR.
PS. The only remaining issue is making it optional, since some users may still want to see the raw latex so they can copy and paste it.

<img width="1197" height="657" alt="Image" src="https://github.com/user-attachments/assets/763143ea-df23-4d35-a6b8-05f614fc821d" />