Markdown links in responses are not clickable in terminal (Ghostty) — need raw URL fallback or OSC 8 hyperlinks
Environment
- Claude Code version: 2.1.210
- Platform: macOS (Darwin 25.5.0)
- Terminal: Ghostty (
TERM_PROGRAM=ghostty,TERM=xterm-ghostty)
Bug
Markdown inline links ([text](url)) in assistant responses are not clickable and do not surface the raw URL in a usable way in the terminal. When the assistant replies with a markdown link, the rendered output shows the link text but the user cannot click it or easily copy the underlying URL.
Repro
- Run Claude Code in Ghostty on macOS.
- Ask a question whose answer includes a markdown link, e.g. a Buildkite or dashboard URL rendered as
[build #45819](https://buildkite.com/...). - The rendered response shows the link text; the URL is not clickable (no OSC 8 hyperlink emitted or not usable), so the user has to ask the assistant to re-print the raw URL in a code block.
Expected
Either emit OSC 8 hyperlinks (Ghostty supports them) so the link text is clickable, or fall back to rendering the raw URL alongside the link text so it can be copied/cmd-clicked.
Impact
Any workflow where the assistant hands back URLs (CI builds, dashboards, PRs) requires a second round-trip asking for "the raw link". Workaround: instruct the assistant to always print raw URLs in code blocks.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗