[Bug] Link clicks in terminal open duplicate Chrome tabs with overlapping URL ranges

Status Open
Reported on v2.1.232
Maintainer reply None cached
Activity 0 comments · opened Aug 14, 2026

Bug Description
Clicking a link in the terminal opens two Chrome tabs, with slightly different URLs

Environment: Windows 11 build 26200, Windows Terminal 1.24.11911.0 set as the default
terminal app (so the session shows explorer.exe -> pwsh.exe and WT_SESSION is unset),
PowerShell 7, Chrome as default browser.

Symptom: clicking any link rendered in a Claude Code session opens TWO tabs, one shortly
after the other. The two URLs are NOT identical. On a line containing
https://example.com/CLIQUE-CONHOST-$(Get-Date -Format HHmmss) one tab stopped at the "$"
and the other continued into "$Get", which looks like two overlapping link ranges over the
same text.

Ruled out, each tested with a unique token in the URL so pre-existing tabs could not be
miscounted: Start-Process, cmd /c start, explorer.exe, rundll32 url.dll FileProtocolHandler
and a direct chrome.exe --single-argument call all open exactly ONE tab. No URL-interception
software is installed, there is no ddeexec key, http/https UserChoice is a single ChromeHTML
ProgId, and Chrome extensions are not involved. Only a click inside the terminal duplicates.

Setting "experimental.detectURLs": false in Windows Terminal removes the duplicate, but it
also makes plain-text URLs completely unclickable, including everything already on screen,
so it is not a usable workaround. Windows Terminal is already on the latest version.

Environment Info

  • Platform: win32
  • Terminal: null
  • Version: 2.1.232
  • Feedback ID: 9cd0f1da-b0cf-4555-88f7-e3f168867cd8

Errors

[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"The following domains are not accessible to our user agent: ['reddit.com', 'reddit.com']. Read more: https://support.anthropic.com/en/articles/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler\"},\"request_id\":\"req_011Ce3GrAdxCFjDV8sntbUDw\"}\n    at generate (B:/~BUN/root/cli:39:39014)\n    at makeRequest (B:/~BUN/root/cli:90:8063)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-08-14T20:29:59.082Z"}]

View original on GitHub ↗