Skip to content

Truncated / corrupted CLI output with visual glitches and issues resuming #17484

Closed

Description

@coleski

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

Activity

  1. added
    bug
    on Apr 11, 2026
  2. added
    CLI
    TUI
    on Apr 11, 2026
  3. changed the title [-]Truncated / corrupted CLI output with visual glitches and issues resuming.[/-] [+]Truncated / corrupted CLI output with visual glitches and issues resuming[/+] on Apr 12, 2026
  4. etraut-openai commented on Oct 12, 2026

    @etraut-openai
    Contributor

    (response from codex)

    Closing as likely addressed by the transcript and viewport fixes in CLI v0.162.1 (#45271, #46721, #46733). Completed output is retained separately from the composer. If you still see truncation or duplicate input UI, please reopen with current version, terminal and /tui mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLITUIbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions