Opened 10 months ago
#18827 new enhancement
Explicit hyperlinks from escape sequences in Terminal
Reported by: | pulkomandy | Owned by: | jackburton |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Applications/Terminal | Version: | R1/beta4 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
This is a relatively new things (2017) in Linux, but there is an escape sequence that allows console apps to provide explicit hyperlinks to files or other URLs:
https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda
The URL may not match what is displayed (for example, URL to an absolute path while only a relative path or a part of the path is displayed).
This could complement the existing code in Terminal to detect hyperlinks. It is better to rely on explicit info from the applications if available, but we can still fallback to the existing manual detection if there is no explicit link set by the console app.