-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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 hyperlink escape sequence (OSC 8) #15861
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
OSC 8 support in the notebook is necessary for correct display of cell outputs that include these escape sequences. Currently some error messages look like this: but they should look like this: Note in the first image that Notebook already supports many escape sequences: the red foreground and dark background colors are correctly rendered. But the hyperlink is shown as duplicated URL mixed in with gibberish. |
It would be great to show OSC 8 escape sequences as URLs instead of the control character gibberish.
For example executing
print("\e]8;;http://example.com\e\\This is a link\e]8;;\e\\\n")
showsinstead of a link like in a terminal.
The OSC 8 standard is relatively recent but already supported by many terminals and applications: https://github.com/Alhadis/OSC8-Adoption/
The text was updated successfully, but these errors were encountered: