Integrated terminal scrollback is truncated after switching projects
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:
- Open Project A in Codex Desktop.
- Open the integrated terminal.
- Run a CLI program that produces or maintains a long terminal history, for example claude CLI.
- Scroll up: the full previous context is available, including the beginning of the conversation/output.
- Switch to another project in Codex Desktop.
- Switch back to Project A.
- 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.