Detects whether the current terminal supports hyperlinks in terminal emulators.
It tries to detect and support all known terminals and terminal families that support this. If a declaration is wrong, missing, or could be improved, please send a PR!
NB: This crate does NOT detect whether the current environment is a TTY and does all its work based on environment variables. You will have to use your own TTY-detection code (or use something like atty) to make this detection more robust.
Example
The API is super simple!
if supports_hyperlinks else
And that's it!