[Bug] Long file:// URLs broken by hard line wraps in Windows Terminal output

Status Open
Reported on v2.1.215
Maintainer reply None cached
Activity 1 comment · opened Jul 20, 2026

Bug Description
Long file:// URLs in Claude Code output are broken by hard line wraps, making them unclickable in Windows
Terminal. Claude Code's renderer inserts real newlines when wrapping text to the terminal width, so the
terminal sees two separate text fragments instead of one continuous URL. Short URLs that fit on one line are
Ctrl+clickable and open File Explorer correctly. Please emit OSC 8 hyperlink escape sequences for URLs and
file paths (OSC 8 links survive line wrapping), or avoid hard-wrapping inside URLs. Environment: Windows 11,
Windows Terminal 1.24, native Claude Code (no WSL).

Environment Info

  • Platform: win32
  • Terminal: null
  • Version: 2.1.215
  • Feedback ID: 1e8180e5-fa51-4461-b190-9a7502cf64b7

Errors

[]

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗