Output is disappearing when scrolling back inside a multiplexor

Resolved 💬 3 comments Opened Jan 15, 2026 by ericviana Closed Jan 15, 2026
💡 Likely answer: A maintainer (etraut-openai, contributor) responded on this thread — see the highlighted reply below.

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?

  1. Launch Zellij in your terminal
  2. Run codex
  3. Send a prompt that generates output longer than the visible terminal height
  4. Wait for the complete output to be displayed
  5. 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_

View original on GitHub ↗

3 Comments

etraut-openai contributor · 7 months ago

We're tracking this in #9115.

mwurm293 · 6 months ago

Please fix this. Multiplexing is a common requirement. I have Claude and Codex. Prefer Codex, but switching to Claude until fixed.

etraut-openai contributor · 6 months ago

@mwurm293, thanks for the post, but there's no need to keep posting the same thing in many different (often closed) bug report threads.