TUI scrollback corruption in Windows Terminal

Resolved 💬 3 comments Opened Aug 4, 2026 by felix314159 Closed Aug 19, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

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_

View original on GitHub ↗

3 Comments

github-actions[bot] contributor · 23 days ago

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

  • #36474

Powered by Codex Action

dougmaitelli · 10 days ago

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

bc-openai contributor · 8 days ago

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.