Subagent's state rendering Markdown content is not rendered correctly in TUI

Resolved 💬 2 comments Opened Mar 2, 2026 by vinhnx Closed Apr 25, 2026
💡 Likely answer: A maintainer (vinhnx, contributor) responded on this thread — see the highlighted reply below.

What version of Codex CLI is running?

v0.106.0

What subscription do you have?

Free

Which model were you using?

gpt-5.3-codex xhigh

What platform is your computer?

Darwin 25.3.0 arm64 arm

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

Ghostty

What issue are you seeing?

Hi Codex team, I observe a small rendering bug for Subagent feature. In the Spawn, Completed state, the messages are currently showing plain text, instead of Markdown in the message TUIs.

<img width="957" height="92" alt="Image" src="https://github.com/user-attachments/assets/d62fa803-c97a-408c-a12e-7f260c70a29e" />
<img width="974" height="589" alt="Image" src="https://github.com/user-attachments/assets/7ab250ce-5c62-47d2-b589-beb0121a86d1" />

Thank you!

What steps can reproduce the bug?

Thread ID submitted 019cadc7-aedb-7ff0-9399-e4de1cd523ca

Or just spawn subagents.

What is the expected behavior?

Subagent's state rendering Markdown content should be rendered correctly in the message TUIs like other parts, eg: normal agent's message.

<img width="947" height="58" alt="Image" src="https://github.com/user-attachments/assets/3cd0dc73-323d-4bad-9bfe-d095e03ca90e" />

Additional information

Please let me know if you need any more information, thank you!

View original on GitHub ↗

2 Comments

palvaleri · 5 months ago

Follow-up: I opened #15001 specifically for the stronger symptom where the subagent TUI corrupts the displayed text itself (dropped characters / whitespace / broken inline-code boundaries) while the raw rollout remains correct.

Keeping this note here only as a cross-link, because that symptom seems broader than the original markdown-rendering report in #13220.

vinhnx contributor · 4 months ago

Closed as fixed