You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using picnic to print out tables for a command line tool. On some tables, I'd like to have hyperlink support. Do you have any ideas / suggestion how to have them clickable by iTerm?
iTerms and other consoles have support for links:
printf '\e]8;;http://example.com\e\\This is a link\e]8;;\e\\\n'
Ideally, having the measurement code honouring this as well as having a method that takes 2 args, hyperlink and displayed text. That way, I don't have to mess with the internals and it's guaranteed picnic will render the hyperlink correctly.
Well the terminal renders it and we have no guarantee that it will work. The same is true of colors, multi-codepoint graphemes, etc. though. Picnic doesn't provide any factories for those things and wouldn't for this either. Ideally we would expose a way to configure what types of these exotic measurement utilities would be installed so consumers can do feature defection on their output location.
I'm using picnic to print out tables for a command line tool. On some tables, I'd like to have hyperlink support. Do you have any ideas / suggestion how to have them clickable by iTerm?
iTerms and other consoles have support for links:
Source
The text was updated successfully, but these errors were encountered: