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
For unsupported terminals, the link will be printed in parens after the text: My website (https://sindresorhus.com).
What do you think of adding an optional boolean prop that indicates whether or not to perform this fallback? (fallback: boolean?) It should default to performing the fallback (the current behavior), so that it is backwards compatible.
I'm working on a CLI where I've sprinkled in some links, but I've found that links are sometimes just supplied purely for convenience. In that case, ideally the fallback would be disabled since it just takes up valuable space in the CLI output!
Would be happy to open a PR if so. I would just conditionally override the fallback parameter from terminal-link.
The text was updated successfully, but these errors were encountered:
re:
What do you think of adding an optional boolean prop that indicates whether or not to perform this fallback? (
fallback: boolean
?) It should default to performing the fallback (the current behavior), so that it is backwards compatible.I'm working on a CLI where I've sprinkled in some links, but I've found that links are sometimes just supplied purely for convenience. In that case, ideally the fallback would be disabled since it just takes up valuable space in the CLI output!
Would be happy to open a PR if so. I would just conditionally override the
fallback
parameter fromterminal-link
.The text was updated successfully, but these errors were encountered: