codex - 💡(How to fix) Fix Codex CLI flickers on Windows PowerShell and scrollback becomes unreadable

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Codex CLI UI flickers on Windows/PowerShell and long interactive output becomes hard or impossible to read because scrollback/top context is not reachable from the terminal scrollbar.

Root Cause

Codex CLI UI flickers on Windows/PowerShell and long interactive output becomes hard or impossible to read because scrollback/top context is not reachable from the terminal scrollbar.

RAW_BUFFERClick to expand / collapse

Summary

Codex CLI UI flickers on Windows/PowerShell and long interactive output becomes hard or impossible to read because scrollback/top context is not reachable from the terminal scrollbar.

Environment

  • OS: Windows
  • Shell: PowerShell 5.1.19041.6456
  • Terminal context detected: TERM_PROGRAM=vscode, host ConsoleHost
  • Codex CLI version: codex-cli 0.130.0
  • GitHub reporter: Devinpdl

What happens

When using Codex CLI interactively, the terminal UI flickers and the right scrollbar/scrollback behavior does not let me reliably return to earlier output. For long Codex answers, I can only see part of the generated response and cannot scroll back to the top context. This makes the CLI difficult to use for serious coding sessions because previous instructions/results become unreadable.

Expected behavior

  • The Codex CLI terminal UI should render stably without flickering.
  • Long responses should remain readable through normal terminal scrollback.
  • The scrollbar should allow returning to earlier context/output.

Actual behavior

  • UI flickers during/after interactive output.
  • Long responses are partially inaccessible.
  • The terminal scrollbar does not reliably expose earlier generated context.

Steps to reproduce

  1. Open a PowerShell terminal on Windows, especially inside VS Code integrated terminal.
  2. Run codex.
  3. Ask for a long response or perform a coding task that prints a large answer.
  4. Try to scroll back to the beginning of the response using the right scrollbar.

Impact

This blocks normal use of Codex CLI for long coding sessions because important generated context cannot be read after output grows beyond the visible terminal area.

Additional notes

I am willing to help test fixes or provide extra reproduction details/screen recording if requested.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

  • The Codex CLI terminal UI should render stably without flickering.
  • Long responses should remain readable through normal terminal scrollback.
  • The scrollbar should allow returning to earlier context/output.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING