URLs not clickable in Ghostty terminal (TUI breaks URL detection)

Open 💬 5 comments Opened Jun 20, 2026 by vu-dao-93

Summary

URLs output by Claude Code inside the TUI are not clickable in Ghostty, even though cmd+click works fine for URLs in any other context in Ghostty.

Environment

  • Terminal: Ghostty
  • OS: macOS 25.5.0 (Darwin)
  • Claude Code: CLI

Expected behavior

URLs printed by Claude Code (both plain https://... and markdown [text](url)) should be cmd+clickable in Ghostty, consistent with how URLs work everywhere else in the terminal.

Actual behavior

URLs are not detected as clickable by Ghostty inside the Claude Code TUI. Cmd+click does nothing.

Likely cause

Claude Code's TUI renderer likely inserts ANSI escape codes or renders text character-by-character in a way that fragments URL byte sequences, preventing Ghostty's URL pattern detector from recognizing them.

Workaround

None — users must manually select and copy URLs.

🤖 Generated with Claude Code

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗