Saltar al contenido principal

Hyperlinks

Rio terminal supports opening hyperlinks from the terminal.

MacOS

To activate hyperlink feature hold Command key when hovering a link:

Demo macos hyperlink

Windows / Linux / BSD

To activate hyperlink feature hold alt key when hovering a link:

Demo windows hyperlink

Demo linux hyperlink

OSC 8

Rio terminal support OSC 8 for defining hyperlinks.

OSC 8 ; [params] ; [url] ST

The [params] consists of zero or more colon-delimited key-value pairs. A key-value pair is formatted as key=value. The only currently defined key is id.

If the url is absent then that ends the hyperlink. Typical usage would look like:

OSC 8 ; ; https://example.com/ ST Link to example website OSC 8 ; ; ST

Will work as default rio terminal hyperlinks, by holding command for MacOS and shift key for all the other platforms and clicking the link.

OSC 8 Example

printf '\e]8;;https://raphamorim.io/rio/\e\\This is a link\e]8;;\e\\\n'

Demo hyperlink using OSC 8

OSZAR »