zed
zed copied to clipboard
Support for OSC8 hyperlinks in Zed Terminal
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'