Skip to content

TUI Rendering overwriting everything #13686

Closed as not planned
Closed as not planned

Description

@doublemover

What version of Codex CLI is running?

v0.111.0

What subscription do you have?

Pro

Which model were you using?

No response

What platform is your computer?

No response

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

No response

What issue are you seeing?

Been seeing this since before themes were added, this is a very mild case that I only caught because permissions are still broken. It is often much worse, especially when there are sub-agents in play and they flub powershell commands causing the resulting prompts to also overwrite TUI text.

Often times the interface gets so mangled that you cannot see anything at all, pressing / to pull up the autocomplete for commands will at least clear enough to continue working, unless there's a permissions prompt pending, then you can play codex roulette and press y or a

A /redraw command would be nice but it wouldn't help in the pending perm prompt case. Perhaps some sort of shortcut key?

Image

What steps can reproduce the bug?

Use codex normally

What is the expected behavior?

It doesn't do this

Additional information

“In the midst of chaos, there is also opportunity” - Sun Tzu

Activity

  1. added
    CLIIssues related to the Codex CLI
    TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal display
    windows-osIssues related to Codex on Windows systems
    on Mar 6, 2026
  2. etraut-openai commented on Mar 6, 2026

    @etraut-openai
    Contributor

    Do you suspect this is a regression? If so, do you know which version this started to appear?

  3. doublemover commented on Mar 6, 2026

    @doublemover
    Author

    This likely encompasses several bugs. Some of it probably started to regress sometime in feburary around the time themes were added?

    When the main agent or a sub agent flubs a PS command in a way that generates prompts like path[n]: would be the biggest thing to handle.

    The next biggest is likely caused by not correctly keeping track of the height of queued commands.

    The rate at which I can reproduce this is extremely limited while the permissions bug persists (and started happening again in the thread I provided in the other report, it sat doing nothing overnight)

    Assorted screenshots

    Image
    Image
    Image

    Good example of when the main agent flubs powershell cmds
    Image

    To be clear this doesn't matter to me at all for as long as the permissions issue persists

    Image

    Great example of a prompt I couldn't see until I pressed up/down

    Image
  4. ifokeev commented on Mar 17, 2026

    @ifokeev

    Yeah it's regression. Started from 0.111 probably. Facing it in Termius right now

  5. added
    regressionBehaviors that worked in previous versions but were broken due to an update
    on Mar 17, 2026
  6. etraut-openai commented on Apr 2, 2026

    @etraut-openai
    Contributor

    Are you still seeing this with TUI 0.118.0? We've made significant changes in the TUI since this bug was initially reported.

  7. removed
    regressionBehaviors that worked in previous versions but were broken due to an update
    on Apr 19, 2026
  8. etraut-openai commented on Oct 12, 2026

    @etraut-openai
    Contributor

    (response from codex)

    Thanks for reporting this. We're closing this older report because the request for a retest after the TUI changes was never answered, and the report combines several rendering failures without a terminal/platform or reproducible sequence we can investigate. This is not a claim that all rendering issues are fixed. If it still occurs, please file a new report with the current CLI version, terminal, platform and exact steps (especially the command or approval that triggers it).

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

    TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displaybugSomething isn't workingwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions