TUI scrollback corruption in Windows Terminal
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_
3 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
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
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.