codex - 💡(How to fix) Fix Integrated terminal scrollback is truncated after switching projects

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…
RAW_BUFFERClick to expand / collapse

What version of the Codex App are you using (From “About Codex” dialog)?

Codex Desktop for Windows

What subscription do you have?

pro

What platform is your computer?

Version: OpenAI.Codex_26.601.2237.0_x64 Also affects remote Linux terminals controlled from local Codex Desktop Shell/command: reproducible with long-running CLI apps such as claude CLI, nvitop, and other terminal programs

What issue are you seeing?

Repro:

  1. Open Project A in Codex Desktop.
  2. Open the integrated terminal.
  3. Run a CLI program that produces or maintains a long terminal history, for example claude CLI.
  4. Scroll up: the full previous context is available, including the beginning of the conversation/output.
  5. Switch to another project in Codex Desktop.
  6. Switch back to Project A.
  7. Try scrolling up in the original integrated terminal. Actual: The terminal can only scroll up a small amount. Most of the previous scrollback/history is no longer accessible, so the beginning of the claude CLI conversation/output cannot be viewed.

What steps can reproduce the bug?

Feedback ID: 019e9149-7b44-7891-851d-985d7b7563e6

What is the expected behavior?

Expected: The integrated terminal should preserve the full scrollback buffer across project switches, or restore the previous scrollback when returning to the project/thread.

Additional information

Important clarification: This is not just a TUI alternate-screen or mouse capture issue. Before switching projects, the terminal has a long scrollback and can scroll to the beginning. After switching away and back, the accessible scrollback is truncated.

Impact: Long CLI sessions become hard to use inside Codex Desktop. For tools like claude CLI, the user loses access to earlier conversation context after switching projects.

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…

Still need to ship something?

×6

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

Back to top recommendations

TRENDING