warp icon indicating copy to clipboard operation
warp copied to clipboard

hyperlink OSC 8 support

Open elyase opened this issue 1 year ago • 2 comments

Pre-submit Checks

Describe the solution you'd like?

Most terminals support OSC 8. There are a couple related issues but most seen to be closed

https://github.com/Alhadis/OSC8-Adoption

Is your feature request related to a problem? Please describe.

No response

Additional context

No response

Operating system (OS)

Select an OS

How important is this feature to you?

1 (Not too important)

Warp Internal (ignore) - linear-label:39cc6478-1249-4ee7-950b-c428edfeecd1

None

elyase avatar May 29 '25 22:05 elyase

We already have a request tracking this over at https://github.com/warpdotdev/Warp/issues/4194

If you could please give it a 👍 and subscribe to that request, it would help us gauge interest. We'll post any updates there, so stay tuned!

We'll be closing this as a duplicate.

dannyneira avatar May 30 '25 16:05 dannyneira

Adding a concrete use case for this: AI TUI tools (Kiro CLI, Claude Code, GSD) soft-wrap their output at panel width, including URLs. When those wrapped URLs appear in Warp block output, CMD+click opens only the first fragment — auth flows (OAuth, CAZ authentication) silently fail because the browser receives a truncated URL.

Filed a companion bug for the Warp-side heuristic fix: #11609. Both are downstream workarounds — OSC 8 support here in #6541 is the clean fix: once kiro-cli emits hyperlinks with the canonical URI in the params field, the URI is never wrapped regardless of display text, and clicks would work correctly.

Upstream kiro-cli issue: kirodotdev/Kiro#8814.

rndjams avatar May 23 '26 18:05 rndjams