Output is disappearing when scrolling back inside a multiplexor
What version of Codex is running?
codex-cli 0.46.0
What subscription do you have?
Plus
Which model were you using?
gpt-5.2-codex
What platform is your computer?
Darwin 25.3.0 arm64 arm
What terminal emulator and version are you using (if applicable)?
Ghostty
What issue are you seeing?
Output disappears when scrolling back in Zellij panes. When using the mouse wheel or trackpad to scroll up through terminal history, previously displayed text vanishes or shows blank spaces instead of the expected content. This issue seems to stem from conflicts between the terminal emulator's scrollback buffer and Zellij's internal buffer management. It's strange that I can return to the point where I ran the command to open Codex before seeing any of the Codex output besides what was in my view already.
<img width="767" height="259" alt="Image" src="https://github.com/user-attachments/assets/347080d6-0362-44a7-9d94-901ef04e6c6e" />
What steps can reproduce the bug?
- Launch Zellij in your terminal
- Run
codex - Send a prompt that generates output longer than the visible terminal height
- Wait for the complete output to be displayed
- Attempt to scroll up using mouse wheel or trackpad to view earlier output
What is the expected behavior?
Previously displayed output should remain visible and readable when scrolling up
Additional information
_No response_
3 Comments
We're tracking this in #9115.
Please fix this. Multiplexing is a common requirement. I have Claude and Codex. Prefer Codex, but switching to Claude until fixed.
@mwurm293, thanks for the post, but there's no need to keep posting the same thing in many different (often closed) bug report threads.