I was pleasantly surprised as well! The ANSI for it is nightmarish to look at (the regex was…fun) but it does indeed work, and even with changing the link text like in markdown! Crazy stuff.
ahahahaha that’s also a totally fair reaction. TBF though in retrospect this is something I should have known was always possible, because you have all the links for support/etc in npm i output for many JS projects…
Context: I posted something similar before, but this is just to announce that I’ve ported the library into NodeJS and published on NPM! The interface has been updated to match JS standards as well (camelCase).
Wait what, terminals do links? I went down a bit of a rabbit hole from looking at your source to find out how that works
For anyone following along, I think I found the specification for links in terminals called “OSC8” and an overview of OSC8 adoption across terminals (so it seems to be widely adopted).
Wow.
I was pleasantly surprised as well! The ANSI for it is nightmarish to look at (the regex was…fun) but it does indeed work, and even with changing the link text like in markdown! Crazy stuff.
You got me wrong. I am not positively surprised, I am in horror 😅
ahahahaha that’s also a totally fair reaction. TBF though in retrospect this is something I should have known was always possible, because you have all the links for support/etc in
npm ioutput for many JS projects…Context: I posted something similar before, but this is just to announce that I’ve ported the library into NodeJS and published on NPM! The interface has been updated to match JS standards as well (camelCase).