Skip to content
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

[Feature Request] Modifiers support link. #99

Open
13OnTheCode opened this issue Jul 17, 2023 · 1 comment
Open

[Feature Request] Modifiers support link. #99

13OnTheCode opened this issue Jul 17, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@13OnTheCode
Copy link

const linkUrl = "https://www.example.com";
const linkText = "Visit Example Website";

const linkOutput = `\u001b]8;;${linkUrl}\u0007${linkText}\u001b]8;;\u0007`;

console.log(linkOutput);

In order to output linked text in the terminal, I have to do it this way. It would be great if colorette natively supported the link modifier.

@jorgebucaran jorgebucaran added the enhancement New feature or request label Jul 18, 2023
@jorgebucaran
Copy link
Owner

I initially figured Colorette would focus solely on colors, not styles. But considering we already support italics and bold, which aren't colors, I'm starting to question that. Why don't you create a PR, and we can continue our discussion there? Does that work for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants