[Windows CLI 0.156.0] TUI rendering lagging significantly
What version of Codex CLI is running?
0.156.0
What subscription do you have?
Pro 5x
Which model were you using?
gpt-6-luna/sol/astra
What platform is your computer?
Windows 11 x64
What terminal emulator and version are you using (if applicable)?
The CLI is running in VS Code terminal. It is running PowerShell 7.6.6
Codex doctor report
What issue are you seeing?
The work-time update rendering is lagging in the TUI. On the previous version (0.153.4 or older), the `Working (*m *s · esc to interrupt) is updating smoothly second by second. Transcript and response generation animation is also smooth, however, the update has made the TUI rendering having significant lags. Work-time second count often jumps by 10s, and the transcript/response rendering can stutter and burst out a chunk of content.
The issue does not seem to be related to RAM usage.
What steps can reproduce the bug?
Run any Codex task and it happens.
What is the expected behavior?
The TUI rendering should be continuous, rather than displaying sporadic behavior.
Additional information
No response
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
- #46111
Powered by Codex Action
No, it is not a duplicate. Your suggested issue's problem was the timer not updating whatsoever, my reported issue is multi-fold, both with timer and transcript rendering lagging, not that it does not update at all.
Additional observation from the affected user on September 23:
The rendering lag occurs in the native Windows CLI workflow, while my WSL workflow does not show it. Exact executable/daemon versions and configuration parity between those environments have not yet been captured, so this is an observed platform comparison rather than a controlled benchmark.
The symptom remains the combination described above: the Working timer can jump by roughly ten seconds, and streamed transcript/response output stutters before appearing in a burst.
The suggestion that this is simply #46111 needs evidence. In the 0.156.0 status renderer, an active displayed timer still schedules a repaint every 1,000 ms when animation effects are disabled. That code does not establish which path is stalling here.
Investigate the native-Windows event loop and terminal I/O path with frame scheduling, draw duration, and event-delivery measurements. The Win32 paths differ from WSL, but no particular API call has been proven responsible.
This is disrupting ordinary paid use across models. Watching the timer freeze and the transcript arrive in bursts makes it difficult to tell whether the task is progressing. Reliable input, output, and status updates are baseline requirements for a coding harness. New model launches do not compensate for this level of interaction failure.
Would you mind running codex doctor on the affected machine and sharing it here?
Hi @fcoury-oai , thanks for your attention to this issue.
Below is the codex doctor assessment file. Please check the logs. If you see no git activity, that is because this was done in the .codex folder.
The render lagging does not care which directory Codex is working on.
codex-doctor-redacted.txt
I found the cause on my machine.
The issue was caused by Windows animation effects being disabled. After enabling Settings → Accessibility → Visual effects → Animation effects, Codex started rendering/updating normally again.
So if anyone is experiencing similar UI flickering / refresh issues on Windows, please check whether Windows Animation Effects are enabled.