Long streamed responses truncate earlier output (regression since 0.97.0)

Open 💬 4 comments Opened Feb 5, 2026 by Petoverflow
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

Feedback thread ID: 019c2e80-cef5-7882-a6f3-5d064884852c (Feedback recorded, no logs)

Versions:

  • 0.96.0: OK
  • 0.97.0+: BUG
  • 0.98.0: BUG

Environment:

  • WSL2 Ubuntu 24.04.3 on Windows 10.0.26200.7705
  • install: npm -g @openai/codex (also reproduced on Windows npm install)

Steps:
1) Run codex interactive TUI.
2) Ask for a very long novel-length response (streaming).
3) The beginning/top of the assistant output gets truncated/disappears; cannot scroll/copy full message.

Expected: full output remains scrollable/copyable.
Actual: early part is truncated in the TUI during/after streaming.

View original on GitHub ↗

4 Comments

github-actions[bot] contributor · 6 months ago

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

  • ##10726 — CLI scroll regression in 0.97.0 prevents scrolling long multi-page output
  • ##9308 — Output disappears when scrolling back in a multiplexor after long output
  • ##8642 — TUI text output gets removed/merged when scrolling/dragging terminal window

Powered by Codex Action

jonbelay · 6 months ago

Thanks for flagging this. To help us reproduce and prioritize:\n\n1. What environment are you using (OS, version, and install method)?\n2. What exact command or config triggers the issue?\n3. Can you share logs or error output if available?\n\nWe will update the proposal once we have the missing details.

theblackboxinyourhead · 6 months ago

any fix coming for this? makes it impossible understand responses.

adghadmin · 5 months ago

any fix/walkaround ? it's making codex cli hard to use on Windows