Mouse scroll hijacked to history navigation when launching Claude from FleetView (agents view) in Windows Command Prompt

Resolved 💬 3 comments Opened May 17, 2026 by nixiecon Closed May 19, 2026

What happens

When I launch a Claude Code instance from the agents view (FleetView) inside Windows Command Prompt (conhost), the terminal's mouse wheel stops scrolling the scrollback buffer and instead cycles through my previous prompt history (same as pressing ↑ / ↓).

What I expected

The mouse wheel should scroll the terminal's scrollback buffer, the way it does in every other context.

Repro

  1. Open Windows Command Prompt (cmd.exe, the one with the C:\ icon).
  2. Run claude and launch a session from the agents view.
  3. Scroll the mouse wheel.

Expected: terminal scrollback scrolls.
Actual: prompt history cycles; scrollback does not move.

Scope

  • Happens only when launched from the agents view.
  • Running claude directly in the same terminal does not have this issue — mouse scroll behaves normally.
  • Suggests the FleetView-launched child process is enabling mouse reporting (or otherwise altering TTY state) in a way the direct invocation doesn't.

Workaround

Shift+scroll bypasses the capture, but it's surprising and inconsistent with the rest of the CLI.

Environment

  • Claude Code: 2.1.143
  • OS: Windows 11 Home (10.0.26200)
  • Terminal: Command Prompt (conhost)
  • Shell: PowerShell

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗