-
-
Notifications
You must be signed in to change notification settings - Fork 251
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 OSC 8 hyperlinks in messages #1368
Comments
Hello! I recently developed some urwid widgets that might be useful here. See this Feature suggestions and bug reports are gladly welcome. Thanks. |
From the CZO discussion:
. . .
One good thing about the Detecting support actually isn't difficult (though involves querying the terminal 1), though in most use cases it's unnecessary because of the reason mentioned above. So, I don't think making it optional is necessary. You may simply keep the current numbered list alongside for the sake of non-supporting terminal emulators. Footnotes
|
@AnonymouX47 Thanks for the details - your library looks interesting 👍 The other component to your library looks like it could handle rendering into urwid format from various others - it's a little off-topic on this issue, but I'd be interested to discuss further if you dropped into our stream on chat.zulip.org :) |
Thanks for the compliments.
If you mean
I don't mind... but I don't know what's next after signing up 🥲 |
@AnonymouX47 If you've already signed up:
|
With the introduction of the OSC 8 escape sequence, hyperlinks with custom text become possible to display on terminals. It would be useful to implement this in Zulip terminal but urwid does not support it out of the box currently (there is an issue filed regarding it).
An immediate usecase would be in message information popups. Implementing hyperlinks in message information popups will help display clickable long links which span over multiple lines - these links are currently not clickable. Since there is no official urwid support for OSC 8 yet, a possible solution would be to surround the entire text link with the escape sequence.
Whenever urwid does support OSC 8, it might be worthwhile to investigate the use of hyperlinks in the normal message body.
CZO discussion
The text was updated successfully, but these errors were encountered: