![]() The syntax isįollowing this, all subsequent cells that are painted are hyperlinks to this target. The escape sequenceĪ hyperlink is opened upon encountering an OSC 8 escape sequence with the target URI. We're hoping to get less -R recognize and handle this escape sequence just as it does colors, so viewing the output of utilities piped to less -R would keep their hyperlinks working. URI, making it just one click to open in a graphical application. core utilitiesĬore utilities, such as ls, find could optionally mark the printed files with their file://. Example screenshot from an imaginary text editor with two files opened: ╔═ file1 ════╗Ĭtrl clicking anywhere on or le.com could open the webpage. viewers, editorsįile viewers and editors could auto-detect URIs in the document, and convert them to hyperlinks even if they are only partially visible on the screen. Git log, or other similar tools could make the commit IDs links to the corresponding page of a web frontend to the repo. apt-changelogĪpt-changelog could automatically format bug IDs as links to the bugtracker's corresponding page. Planned to send request soon: vim, neovim, emacs, groff, find, grep.Not to be confused with the one written in Java bearing the same name.) Terminator (The one for Linux written in Python, based on GTK .Not to be confused with the Windows PuTTY-fork named KiTTY.) Kitty (The Linux and macOS terminal emulator.Rich rich text formatting library: Since May 2020.brick high-level terminal UI library: Since October 2017.vty medium-level terminal UI library: Since October 2017.mdcat (markdown cat): Since version 0.5.0.Matterhorn chat client: Since version 40400.0.0.ls -hyperlink ( coreutils): Since version 8.28.less -R: Preliminary patch available in the GNOME Terminal discussion.gcc: Since version 10, for diagnostic messages to point to the documentation.based on VTE 0.50: (Use 0.50.4, 0.52.2, or newer to avoid a rare crash).Ultimate terminal widget since Nov 2019 (version ?).Terminology in git since, probably will be released in version 1.3.The result is equivalent to this HTML link: This is a link printf '\e]8 \e\\This is a link\e]8 \e\ Here's a simple command to try out the feature. Other terminal emulators are also welcome and encouraged to join! Quick example ![]() As such, we expect other VTE-based terminal emulators to catch up and add support really soon. GNOME Terminal is based on the VTE widget, and almost all of this work went to VTE. In spring 2017, GNOME Terminal and iTerm2 have changed this. It was, however, not possible until now for arbitrary text to point to URLs, just as on webpages. via Ctrl click or Cmd click, or the right click menu). Most of the terminal emulators auto-detect when a URL appears onscreen and allow to conveniently open them (e.g.
0 Comments
Leave a Reply. |