Skip to content

TUI scrollback corruption in Windows Terminal #36995

Closed

Description

@felix314159

What version of Codex CLI is running?

codex-cli 0.146.0

What subscription do you have?

Pro

Which model were you using?

No response

What platform is your computer?

Microsoft Windows NT 10.0.26100.0 x64

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

PowerShell and old Windows Terminal

Codex doctor report

What issue are you seeing?

Codex CLI is completely unusable because as soon as you get a response (text being printed to you) the entire scrollback disappears and only resizing the window fixes it (until another thing is printed, then everything disappears again). This has been reported before #20303 and has been fixed by this PR. Please approve me so that I can actually open the PR against the openai/codex repo.

BTW: None of the duplicate issues that get recommended here are actually valid duplicates.

What steps can reproduce the bug?

Start any conversation, it will instantly happen. It blows my mind that you do not test your main product on Windows at all before releasing a new version.

What is the expected behavior?

Expected behavior is that I can actually read what the model responds.

Additional information

No response

Activity

  1. added
    CLIIssues related to the Codex CLI
    windows-osIssues related to Codex on Windows systems
    TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal display
    on Aug 4, 2026
  2. github-actions commented on Aug 4, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. dougmaitelli commented on Aug 18, 2026

    @dougmaitelli

    I have a fix for this here but I can't create PRs to the main repo, so...
    main...dougmaitelli:codex:fix/windows-terminal-scrollback

  4. bc-openai commented on Aug 19, 2026

    @bc-openai
    Contributor

    Thanks for the report! A fix has been merged and will be included in the next release. Apologies for the regression. We’re improving our Windows testing to help prevent similar issues going forward.

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

    CLIIssues related to the Codex CLITUIIssues 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