Code formatting in "ask for approval" mode is completely broken.
Resolved 💬 6 comments Opened Aug 11, 2025 by rishsriv Closed Nov 26, 2025
What version of Codex is running?
0.20.0
Which model were you using?
gpt-5
What platform is your computer?
Darwin 24.6.0 arm64 arm
What steps can reproduce the bug?
- Run Codex in
No, ask me to approve edits and commandsmode in any folder, using iTerm2 or the terminal app on a Mac - Ask it to implement a change to the current codebase
- The code generated is improperly formatted and impossible to read (see image). No accept/reject prompt is visible
<img width="1512" height="894" alt="Image" src="https://github.com/user-attachments/assets/e69071af-471b-4ea1-a5c9-bd2e50e82635" />
What is the expected behavior?
_No response_
What do you see instead?
_No response_
Additional information
_No response_
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗