Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support hyperlinks (iTermin2, Gnome Terminal) #116

Closed
jquast opened this issue Jan 10, 2020 · 1 comment
Closed

Support hyperlinks (iTermin2, Gnome Terminal) #116

jquast opened this issue Jan 10, 2020 · 1 comment

Comments

@jquast
Copy link
Owner

jquast commented Jan 10, 2020

At time of this writing, iTerm2 and Gnome Terminal support the ability to place hyperlinks in text, https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda

printf '\e]8;;http://example.com\e\\This is a link\e]8;;\e\\\n'

Our implementation would probably appear as,

Terminal().hyperlink('http://www.example.com', 'This is a link')

As named parameters url and text.

@jquast
Copy link
Owner Author

jquast commented Feb 3, 2020

In PR #147

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant