Skip to content

[BUG] Mouse wheel does not scroll in CLI TUI — both main view and Ctrl+T overlay (Windows, v0.146.0) #36099

Description

@BladeDancer743

Environment

  • Codex CLI: v0.146.0 (npm install)
  • OS: Windows 11 10.0.22631
  • Terminal: Windows Terminal + pwsh 7.4
  • Config tested:

toml [tui] alternate_screen = "auto" scroll_wheel_lines = 3 scroll_trackpad_lines = 1

Verified with --strict-config — all fields recognized. No effect.

Repro Steps

  1. Run codex in Windows Terminal
  2. Have a conversation that exceeds one screen of output
  3. Try to scroll up with mouse wheel to see previous content
  4. Also try Ctrl+T to open transcript overlay, then mouse wheel

Expected

Mouse wheel scrolls the conversation view up/down, like Claude Code or any normal terminal app.

Actual

  • Main view: mouse wheel does nothing at all
  • Ctrl+T overlay: keyboard navigation works but mouse wheel does nothing
  • The only way to see previous content is keyboard (PgUp/PgDn/Ctrl+T + arrows)

Root Cause Analysis

The ui.scroll_wheel_lines config exists but the TUI views (main chatwidget, transcript overlay) don't bind Event::Mouse(ScrollUp/ScrollDown). The config knob exists without the wiring.

Related Closed Issues (no real fix)

None resulted in functional mouse wheel scrolling in the CLI TUI.

Context

This is NOT the Desktop app scrollbar issue (#20886). This is about the CLI TUI specifically. Claude Code handles this correctly — users expect the same from Codex CLI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLITUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displaybugSomething isn't workingwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions