zed icon indicating copy to clipboard operation
zed copied to clipboard

Support for OSC8 hyperlinks in Zed Terminal

Open notpeter opened this issue 7 months ago • 0 comments

Summary

There a standard, OSC 8, for embedding hyperlinks in ANSI terminal escape sequences.

Description

Many other terminal emulators support this (Alacritty upstream, GhosTTY, iTerm, Windows Terminal, etc).

Zed should add support for http, https and file URIs.

printf '\e]8;;http://example.com\e\\This is a link\e]8;;\e\\\n'

printf '\e]8;;file:///Users/peter/Desktop/notpeter.jpeg\e\\notpeter.jpeg\e]8;;\e\\\n'

notpeter avatar May 08 '25 13:05 notpeter