bubble-table
bubble-table copied to clipboard
Hyperlinks break the table
I am trying to add hyperlinks to my bubble-table, but OSC 8 hyperlinks don't work when inside the table.
I am using this function to create the link:
func hyperlink(text string, url string) string {
return "\x1b]8;;" + url + "\x07" + text + "\x1b]8;;\x07"
}
You can see an example code in this Gist. It renders like this:

Same table, without hyperlinks:

Apologies for the delay on responding to this, I've been a bit swamped by my day job. <3
I'm unfamiliar with OSC 8 hyperlinks and I've done some brief investigations. It appears there's an open issue regarding hyperlinks here as well in the underlying library that we use: https://github.com/muesli/reflow/issues/45
This may be difficult to fix on our end if the underlying library also contains this issue. Open to thoughts.
No problem @Evertras! Thank you for taking a look into the issue.
I will follow the issue in reflow, indeed it's hard to fix it here if reflow breaks the text too.