[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OSC8 hyperlink support in ncurses
From: |
Thomas Dickey |
Subject: |
Re: OSC8 hyperlink support in ncurses |
Date: |
Wed, 23 Aug 2023 03:24:51 -0400 |
On Tue, Aug 22, 2023 at 01:12:04PM -0400, Dusty Mabe wrote:
> Hi,
>
> I'm wondering if anyone has ever requested OSC8 hyperlink support [1] in
> ncurses
This is probably the first mention on this list.
I don't see any use in my working on this, because:
a) it opens up a new set of security vulnerabilities (which if you read this
list, and investigate, you'll notice that I do _all_ of the work to
mitigate those issues).
b) doing this as you might expect will interfere with performance for _all_
applications.
The developer working on tmux is working through the latter, and ignoring
the former. Perhaps in a few years, after both aspects are resolved, he
might want to adapt some of that to ncurses.
> before. There are several applications built on ncurses that could benefit
> from
> being able to embed hyperlinks such as weechat [2]. My specific use case that
> is
> of interest is when someone uses markdown formatting like [link
> here](http://example.com)
> in a chat with me (weechat) then I'd like only the text "link here" to show up
> but the terminal would know and a mouse click would enable me to open the
> link.
>
> Of course, some of that use case I just described would be on weechat to
> implement,
> but from what I understand there is some foundational support needed in
> ncurses [3]
> before weechat could implement such a feature.
>
> Anyways, thanks for the work over time on ncurses (I love many TUIs) and I
> appreciate
> any time you spend responding to this.
>
> Dusty
>
> [1] https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda
> [2] https://github.com/weechat/weechat/issues/1252
> [3] https://github.com/weechat/weechat/issues/1252#issuecomment-944500795
>
--
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
signature.asc
Description: PGP signature