-
-
Notifications
You must be signed in to change notification settings - Fork 323
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
Add support for explicit hyperlink marking in terminals that support it. #1252
Comments
Still not clickable with alt+l ? |
Yeah, that works... I'm not sure it removes the value of my feature request, though. |
This would be wonderful to see implemented, alt+l is an annoying workaround. |
another workaround, is tmux + tmux-url-select.pl or another tmux url plugin |
OSC 8 Hyperlinks are widely supported in terminals now. Would love to see this in weechat. |
Hi, As mentioned in the iterm2 issue (on GitLab), the problem is that ncurses doesn't support this OSC8 ANSI code. I made a POC, visible in this commit: 2d38731 (very basic support, making any word starting with "http" an URL). I think the only possible solutions for support of these hyperlinks (which I agree would be nice) are:
|
is there an open issue somewhere or a place where we can track OSC8 hyperlink support in ncurses? |
I started a thread on the bug-ncurses mailing list: https://lists.gnu.org/archive/html/bug-ncurses/2023-08/msg00015.html |
Feature description
When hyperlinks are posted to terminals it's super useful to be able to click on them. Most modern terminals provide URL marking features to make that possible, but they rely on text continuity, and when URLs wrap in sub-panes of the terminal window that gets hard, if not straight up impossible.
See, for example, this issue I opened to iTerm2: https://gitlab.com/gnachman/iterm2/issues/7066
They point out that there's a nascent standard implemented by them and by Gnome terminal, OSC 8 explicit hyperlink support, that allows for HTML-like anchors to mark links.
Please implement that in weechat so that I can click on my URLs again 😄
The text was updated successfully, but these errors were encountered: