Investigation into why PR links (e.g. PR #1846) are not clickable in Ghostty + zmx revealed that Claude Code does not emit OSC 8 hyperlink sequences. It only applies SGR underline styling (\e[4m) without an associated URI.
- Initial hypothesis: zmx or ghostty-vt's
TerminalFormatterstrips OSC 8 during serialization - Testing:
printf '\e]8;;https://example.com\e\\Click Me\e]8;;\e\\'works correctly in a live zmx session — clickable in Ghostty