You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During spring 2017, VTE-based terminal emulators started getting hyperlinks; not just detecting http:// links, but customizable links. See this Gist to learn more.
When IPython pretty-prints a traceback in the interactive shell, it could have a link to each file mentioned in the traceback. For example, in:
~/somewhere/file.py could be printed as in printf '\e]8;;file://localhost/home/myself/somewhere/file.py\e\\~/somewhere/file.py\e]8;;\e\\', making it clickable to any compatible terminals, and easier to open in an editor or viewer. Note the use of localhost, to avoid issues in SSH as stated in this section of the gist. Since the URI is included as a parameter of the espace sequence, it would be ignored by incompatible terminals.
The text was updated successfully, but these errors were encountered:
During spring 2017, VTE-based terminal emulators started getting hyperlinks; not just detecting
http://
links, but customizable links. See this Gist to learn more.When IPython pretty-prints a traceback in the interactive shell, it could have a link to each file mentioned in the traceback. For example, in:
~/somewhere/file.py
could be printed as inprintf '\e]8;;file://localhost/home/myself/somewhere/file.py\e\\~/somewhere/file.py\e]8;;\e\\'
, making it clickable to any compatible terminals, and easier to open in an editor or viewer. Note the use oflocalhost
, to avoid issues in SSH as stated in this section of the gist. Since the URI is included as a parameter of the espace sequence, it would be ignored by incompatible terminals.The text was updated successfully, but these errors were encountered: