[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: terminfo capability for hyperlinks
From: |
Thomas Dickey |
Subject: |
Re: terminfo capability for hyperlinks |
Date: |
Thu, 2 Jan 2025 19:14:27 -0500 |
On Fri, Jan 03, 2025 at 12:54:45AM +0100, Bruno Haible via Bug reports for
ncurses, the GNU implementation of curses wrote:
> Hi,
>
> For about 7 years, this writeup explains how to use hyperlinks in
> terminal emulators:
> https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda
I'm aware of that. PuTTY's authors have a different attitude about
that, and have presented a longer answer than I've done (since you
haven't bothered to check on that, this might help):
https://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/osc8.html
>
> 6 years ago, I wrote a library (GNU libtextstyle [1]) that makes use
> of this feature on terminal emulators that support it. The problem is
> determining the "support it": I did not find a terminfo capability
> for it, at the time. Nor do I do now. So there still is this ugly code [2]
> that looks at the value of $TERM, instead of using terminfo.
ugly either way :-)
--
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
signature.asc
Description: PGP signature