Ctrl+Click on links in assistant output opens two browser tabs (Windows Terminal)

Status Closed — duplicate
Reported on v2.1.228
Maintainer reply None cached
Activity 1 comment · opened Aug 12, 2026 · closed Aug 15, 2026

Environment

  • Claude Code version: 2.1.228
  • OS: Windows 11 Pro 10.0.26200
  • Terminal: Windows Terminal
  • Shell: PowerShell

Bug description
Ctrl+Click on any URL that appears in Claude's assistant output opens the link in TWO duplicate browser tabs instead of one. This happens whether the URL is formatted as a markdown link [text](url) or as plain text.

Steps to reproduce

  1. Ask Claude Code to provide a link to a webpage (e.g. a product page or search result).
  2. Ctrl+Click the link in the terminal output.
  3. Two browser tabs open with the same URL instead of one.

What I ruled out

  • Not a mouse/hardware issue: no double-click behavior in any other application (WhatsApp, Telegram desktop apps).
  • Not a browser extension: disabled a cashback extension (LetyShops) that could plausibly auto-open tabs on shopping sites — issue persisted.
  • Not a general Windows Terminal bug: typing a URL manually with echo "https://example.com" and Ctrl+Clicking it opens only ONE tab.
  • The duplication only occurs with URLs that appear in Claude's own assistant-generated output (both markdown-formatted and plain-text URLs), not with URLs typed directly by the user in the shell.

Suspected cause
Possibly Claude Code wraps URLs in its output with an OSC 8 hyperlink escape sequence that overlaps with Windows Terminal's own automatic URL detection/hyperlinking, causing both handlers to fire on a single Ctrl+Click.

Expected behavior
Ctrl+Click on a link in assistant output should open exactly one browser tab.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗