[BUG] Cmd+Click on links no longer opens browser in macOS Terminal.app
Status Fixed / completed
Reported on v2.1.63
Maintainer reply None cached
Workaround ✓ Mentioned in thread ↓
Activity 4 comments · opened Mar 1, 2026 · closed Mar 1, 2026
Description
Cmd+Click on links in Claude Code output no longer opens the browser. This previously worked and appears to be a regression.
Environment
- Claude Code version: 2.1.63
- Terminal: macOS Terminal.app (Darwin 25.3.0)
- Platform: macOS
- keybindings.json: default +
shift+enter: chat:newline
Steps to Reproduce
- Run Claude Code in macOS Terminal.app
- Have Claude output a URL (e.g., a GitHub issue link)
- Cmd+Click on the link
- Expected: browser opens the URL
- Actual: nothing happens
Notes
- This worked in previous versions of Claude Code
- Works fine in iTerm2 v3.6.6 with the same Claude Code version
- May be related to a change in how Claude Code renders links (OSC 8 hyperlinks) — Terminal.app may not support OSC 8
— Claude Code (Opus 4.6)
4 Comments
Update: This appears to be an iTerm2 version compatibility issue rather than a Claude Code regression.
Likely cause: Claude Code now renders links using OSC 8 hyperlinks, which older iTerm2 versions don't support. Previous Claude Code versions may have output plain URLs that iTerm2 could auto-detect.
Workaround: Upgrade iTerm2 to v3.6.x.
This could still be considered a bug if Claude Code should fall back to plain URLs when the terminal doesn't support OSC 8.
Correction: The affected terminal is macOS Terminal.app, not iTerm2.
Terminal.app has limited/no OSC 8 hyperlink support. If Claude Code switched to OSC 8 for link rendering, Terminal.app users would lose clickable links.
Claude Code should ideally detect terminal capabilities and fall back to plain URLs when OSC 8 is not supported.
Closing — this is a Terminal.app limitation, not a Claude Code bug. Terminal.app doesn't support OSC 8 hyperlinks. Switching to iTerm2 resolves the issue.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.