-
Notifications
You must be signed in to change notification settings - Fork 621
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fmt hyperlinked CLI text #6177
Comments
The support of that special sequence seems a bit too limited?
There seem no support on windows, and also default terminal of mac doesn't seem supporting? |
Windows Terminal supports it. Not sure about macos and don't have access to a mac device to find out. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
A function for creating hyperlinked text to print to CLI output (see Hyperlinks (a.k.a. HTML-like anchors) in terminal emulators).
Not sure whether this should go under
fmt/colors
or a newfmt/ansi
.fmt/colors
makes most sense to me given it already contains various formatting functionality that doesn't strictly relate to color.Example:
^ prints in CLI console as Deno dot land.
Describe the solution you'd like
Something like this:
Describe alternatives you've considered
NO_COLOR
output be? Maybe a markdown equivalent like[Deno dot land](https://deno.land)
? Edit: or maybe not, this could easily break layouts. Probably best to just print the text without the hyperlink.The text was updated successfully, but these errors were encountered: