All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Implementation of Hyperlink Support in Terminal Emulators

By

nvahalik

2mo ago· 15 min readenCode

Summary

The article discusses the implementation of hyperlink support in terminal emulators, specifically focusing on how GNOME Terminal and iTerm2 introduced this feature in 2017. It explains that while terminal emulators could previously auto-detect URLs onscreen, they couldn't support arbitrary text linking to URLs like webpages do. The article details the technical implementation through the VTE widget that powers GNOME Terminal, and covers the broader ecosystem impact including other terminal emulators that have adopted similar functionality.

Key quotes

· 4 pulled
Most of the terminal emulators auto-detect when a URL appears onscreen and allow to conveniently open them (e.g. via Ctrl+click or Cmd+click, or the right click menu).
It was, however, not possible until now for arbitrary text to point to URLs, just as on webpages.
In spring 2017, GNOME Terminal and iTerm2 have changed this.
GNOME Terminal is based on the VTE widget, and almost all of this work went to VTE.
Snippet from the RSS feed
Hyperlinks in Terminal Emulators. GitHub Gist: instantly share code, notes, and snippets.

You might also wanna read