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
- Run
codex in Windows Terminal
- Have a conversation that exceeds one screen of output
- Try to scroll up with mouse wheel to see previous content
- 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.
Environment
toml [tui] alternate_screen = "auto" scroll_wheel_lines = 3 scroll_trackpad_lines = 1Verified with
--strict-config— all fields recognized. No effect.Repro Steps
codexin Windows TerminalExpected
Mouse wheel scrolls the conversation view up/down, like Claude Code or any normal terminal app.
Actual
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.