I have a ruby terminal script that I would like to print out hyperlinks. I achieve that like so:
puts("\e]8;;https://example.com\aThis is a link\e]8;;\a")
This works perfectly fine in a "normal" terminal (gnome-terminal btw) window.
But I need to run this script within GNU screen
, where the escape-sequence simply has no effect. Other sequences (like colors for example) work fine, the hyperlink one (which according to the source might be a gnome-terminal-only thing) doesn't. (screen
is running inside gnome-terminal)
How can I get screen
to acknowledge my link sequence and display it properly?