Code change in CLI is hard to read
Resolved 💬 9 comments Opened Nov 26, 2025 by degisner Closed Apr 3, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What feature would you like to see?
When using Codex through CLI there are a few things to improve:
- Indentation is too huge so it's hard to read.
- Formatting like in GitHub or Claude Code would be a sweat bonus.
<img width="1078" height="1178" alt="Image" src="https://github.com/user-attachments/assets/9b6b1522-1752-4aff-ab2e-701a5b36eb46" />
Additional information
_No response_
9 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
What platform are you using? From the screen shot, it looks like MacOS.
What terminal emulator are you using? Are you seeing this issue with the standard MacOS terminal app?
It's not clear to me from your bug report whether the issue is related to model behavior (that is, the output of the LLM) or a terminal display issue. Please use the
/feedbackslash command to upload the session and post the thread ID here. That should give us additional details we need to investigate further.Thank you for taking a look! Here are more details:
@degisner, to use the
/feedbackslash command, just type/feedbackinto the text input box, then select "bug" and upload your session. There's no need to file a new bug report, but please respond here with the resulting "thread ID". This will allow us to look up your session.@etraut-openai If I understand correctly, I need to use GitHub Copilot for this, right? I don’t have it. Is there any other way to do that? I have no clue.
Just run
codex resumeand choose the session that corresponds to the screen shot you posted above. Then type/feedbackin the text input box. It will walk you through uploading the session details and print a thread ID when it's done.Oh, right! Thank you for the help! Here's a thread ID: 019ac456-6ae8-7fa2-a48c-135d671ee413
It's not the same as in the screenshot above but with the same issue — code diff is hard to read.
Submitted a PR for this: https://github.com/openai/codex/pull/9637
Closing stale bug report. We've made significant modifications to the TUI code since this was submitted. If you're seeing a similar issue, please open a new bug report.