Skip to content

PageUp/PageDown in Ctrl+T transcript overlay skip messages (pages are not continuous) #7356

@muyuanjin

Description

@muyuanjin

What version of Codex is running?

codex-cli 0.63.0

What subscription do you have?

API

Which model were you using?

gpt-5.1-codex

What platform is your computer?

Linux 6.6.87.2-microsoft-standard-WSL2 x86_64 x86_64 (Windows 11 host with WSL2 Ubuntu)

What issue are you seeing?

In the Ctrl+T transcript overlay, paging with PageDown / PageUp is not continuous:

  • The first line on the next page is not the one immediately after the last line on the previous page.
  • Several messages in between are skipped; in my tests it consistently skips 3 lines.
  • From different starting lines (e.g. one line, or a few lines below it), pressing PageDown can land on exactly the same next page.

This makes it easy to miss parts of the transcript when reviewing history in the pager.


What steps can reproduce the bug?

  1. Run codex.
  2. In the input box, type many lines of consecutive numbers (one per line, e.g. 0..49), then send once so Codex prints all of them.
  3. Press Esc if Codex is still streaming, to return to the prompt.
  4. Press Ctrl+T to open the transcript overlay.
  5. Use PageUp/Home if needed to go to the top, then press PageDown and compare the last number on the previous page with the first number on the next page: several numbers in between are missing (for me, 3 numbers are always skipped).

What is the expected behavior?

  • PageDown should advance by exactly one page of visible transcript content.
  • The first line on page N+1 should be the message immediately after the last line on page N (no skipped numbers/messages).
  • From non-edge positions, PageDown then PageUp (or PageUp then PageDown) should restore the original view.
  • Paging from different starting lines should lead to correspondingly different next pages, not the exact same page.

Additional information

I tested this in multiple setups and saw the same behavior (paging always skips 3 lines):

  • Windows Terminal + WSL (Ubuntu) + codex
  • WezTerm + WSL (Ubuntu) + codex
  • Windows Terminal + codex.exe

Metadata

Metadata

Assignees

No one assigned

    Labels

    TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displaybugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions