Skip to content

Output is disappearing when scrolling back inside a multiplexor #9308

Closed as duplicate

Description

@ericviana

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.

Image

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

Activity

  1. added
    bug
    on Jan 15, 2026
  2. added
    CLI
    TUI
    on Jan 15, 2026
  3. etraut-openai commented on Jan 15, 2026

    @etraut-openai
    Contributor

    We're tracking this in #9115.

  4. mwurm293 commented on Feb 5, 2026

    @mwurm293

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

  5. etraut-openai commented on Feb 5, 2026

    @etraut-openai
    Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLITUIbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions