Skip to content

Feature request: Hyperlinks #911

Closed
Closed
@egmontkob

Description

Recently two popular terminal emulators, GNOME Terminal and iTerm2 have implemented a brand new feature: explicit hyperlinks.

Unlike the existing functionality of most terminal emulators of automatically detecting URLs that appear onscreen, this time it's like hyperlinks on web pages: the link target is explicitly specified by the OSC 8 escape sequence and the visible text can be an arbitrary piece of text.

We believe this feature can provide a noticeable productivity boost for plenty of users, and hence we're hoping to get some widespread recognition and support, in which tmux joining the game would be a key factor!

Ideally tmux would make its presence transparent to the user and make sure hyperlinks work exactly as if tmux weren't in the game. This includes autogenerating or mangling the id parameter in some trivial way, see the docs linked below for why and how, but that's a piece of cake. The toughchallenging bits is probably coming up with a memory-efficient way of storing a target URL for some of the character cells.

Please see https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda for details about this feature.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions