codex - 💡(How to fix) Fix Truncated / corrupted CLI output with visual glitches and issues resuming [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#17484Fetched 2026-04-12 13:27:53
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Author
Timeline (top)
labeled ×3commented ×1cross-referenced ×1renamed ×1

Error Message

This error mode comes with two additional weird failures.

RAW_BUFFERClick to expand / collapse

What version of Codex CLI is running?

codex-cli 0.120.0

What subscription do you have?

Pro

Which model were you using?

gpt-5.4

What platform is your computer?

Darwin 24.3.0 arm64 arm

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

Superset

What issue are you seeing?

The terminal is truncated at the end of the turn. You don't get to see the end of the model's response. The amount that it's truncated appears to vary. This sometimes, but not always, comes with a duplication of the input GUI (the grey bar, user input, model info, etc.). So you'll see a non functional GUI and then your real one at the bottom. And a bunch of blank space padding.

This error mode comes with two additional weird failures.

If you try to /resume the same chat that's truncated, sometimes the instance crashes. Sometimes it correctly says "Already viewing." Both when it crashes, or if you manually kill it, it does not show the resume ID Attaching some images of various examples... https://imgur.com/a/tPS8gkU

What steps can reproduce the bug?

Uploaded thread: 019d7978-2858-7d10-b31b-65bd54ebc6ae

What is the expected behavior?

No truncation, resume ID when killed. Resume tells you that you're already viewing instead of crashing.

Additional information

No response

extent analysis

TL;DR

The issue with the Codex CLI terminal being truncated at the end of the turn, along with other failures, may be resolved by checking the terminal emulator settings or the Codex CLI configuration for any limitations on output length.

Guidance

  • Verify that the terminal emulator, Superset, is configured to display long output lines without truncation.
  • Check the Codex CLI documentation for any options or settings that control the output length or formatting.
  • Test the Codex CLI with a different terminal emulator to see if the issue is specific to Superset.
  • Review the uploaded thread (019d7978-2858-7d10-b31b-65bd54ebc6ae) for any clues about the cause of the truncation and crashes.

Notes

The issue may be related to a compatibility problem between the Codex CLI and the Superset terminal emulator, or a configuration issue with the Codex CLI itself. Further investigation is needed to determine the root cause.

Recommendation

Apply workaround: Try using a different terminal emulator to see if the issue persists, and check the Codex CLI documentation for any configuration options that may help resolve the problem. This is a safe and non-intrusive first step to help diagnose and potentially resolve the issue.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix Truncated / corrupted CLI output with visual glitches and issues resuming [1 comments, 2 participants]