-
Notifications
You must be signed in to change notification settings - Fork 243
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
[FEATURE] OSC8/Hyperlink Support #802
Comments
Hi, and thanks for the report! Indeed, I didn't know about it but it looks like it would be great to support it! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
I have a program where I want to render clickable hyperlinks as specified by OSC 8, cursive has no native way to render OSC8, and going around cursive for it is a major hassle and not something advisable.
OSC 8 described
Describe the solution you'd like
A way to specify a hyperlink in cursive, potentially the api could look like this (modeled after the with_* Printer methods):
and other related methods like set_hyperlink, though this seems weird to set/unset
Alternatively, OSC8 provides a way to label hyperlinks as the same with the
id
parameter, so the api could look like this (and set_hyperlink would make more sense):Additional context
While cursive View's can be used to replicate a portion of the OSC8 hyperlink behavior, this is an API that modern terminal emulators provide, and it would be cool if cursive could support rendering them
The text was updated successfully, but these errors were encountered: