claude-code - 💡(How to fix) Fix Mouse scroll hijacked to history navigation when launching Claude from FleetView (agents view) in Windows Command Prompt

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Fix Action

Workaround

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

RAW_BUFFERClick to expand / collapse

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

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix Mouse scroll hijacked to history navigation when launching Claude from FleetView (agents view) in Windows Command Prompt