Add Windows Terminal to OSC 8 hyperlink auto-detect allowlist
Resolved 💬 2 comments Opened May 14, 2026 by seanmartinsmith Closed Jun 13, 2026
windows terminal has supported OSC 8 hyperlinks since v1.4 (microsoft/terminal#204), but CC's auto-detect doesn't recognize it - so OSC 8 sequences in custom statuslines get stripped unless i set FORCE_HYPERLINK=1.
the docs already mention this as a troubleshooting step (https://code.claude.com/docs/en/statusline#troubleshooting), so the workaround is fine, but it'd be small to just detect WT directly. $env:WT_SESSION is a reliable signal - it's only set by windows terminal, and it's been there for years.
repro:
- WT.exe on win11, no tmux, no SSH
- custom statusline emits
\e]8;;file:///C:/Users/sms/.files\e\\.files\e]8;;\e\\ - rendered as plain text, no underline, ctrl+click does nothing
- set
$env:FORCE_HYPERLINK = '1'→ works as expected
raw OSC 8 echoed directly to the same pane (outside CC) renders fine, so it's CC's pass-through, not the terminal.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗