Skip to content

Code formatting in "ask for approval" mode is completely broken.Β #2167

@rishsriv

Description

@rishsriv

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?

  1. Run Codex in No, ask me to approve edits and commands mode in any folder, using iTerm2 or the terminal app on a Mac
  2. Ask it to implement a change to the current codebase
  3. The code generated is improperly formatted and impossible to read (see image). No accept/reject prompt is visible
Image

What is the expected behavior?

No response

What do you see instead?

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions