Fullscreen mouse capture: Ctrl+click on a URL in Windows Terminal opens it twice
Status Open
Reported on v2.1.235
Maintainer reply None cached
Activity 0 comments · opened Aug 20, 2026
With fullscreen rendering and mouse capture enabled (default settings, no CLAUDE_CODE_DISABLE_MOUSE* env vars), Ctrl+clicking a URL in the transcript opens two browser tabs.
Environment
- Claude Code: 2.1.235 (autoUpdatesChannel: latest)
- Terminal: Windows Terminal 1.24.11911.0, PowerShell 7
- OS: Windows 11 Pro (build 26200)
Steps to reproduce
- Start Claude Code in Windows Terminal with default fullscreen/mouse-capture settings.
- Have the assistant print any URL.
- Ctrl+click the URL once.
Expected: the URL opens once.
Actual: two identical browser tabs open.
Notes
- This looks different from #68568 (JetBrains reworked terminal delivering duplicate click events): here the likely cause is that Windows Terminal's own native Ctrl+click hyperlink handling fires in addition to Claude Code's in-app link opening. Claude Code reportedly defers to the terminal's link handler on xterm.js-based terminals (VS Code/Cursor) to avoid exactly this — Windows Terminal isn't xterm.js-based, so no deferral happens.
- With
CLAUDE_CODE_DISABLE_MOUSE=1the double-open disappears (only the terminal handles the click), but that also disables drag-select/auto-copy and wheel scrolling. - Related: #71826, #72681 (mouse-capture friction reports).