8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This bug only appears on iTerm 2.
iTerm 2
const terminalLink = require('terminal-link'); const stripAnsi = require('strip-ansi'); const link = terminalLink('click', 'https://github.com', {fallback: text => text}); console.log(stripAnsi(link));
click
ttps://github.com/sindresorhusclick
The text was updated successfully, but these errors were encountered:
@sindresorhus Should we add the terminal link pattern to the patterns array if the terminal does not support terminal link?
Sorry, something went wrong.
Yes, it should strip it no matter what. The string to strip might come from somewhere else where the terminal did support a terminal link.
Support more escape types like links (#29)
96200bb
Fixes #21 Fixes #28
No branches or pull requests
This bug only appears on
iTerm 2
.How to reproduce
Expected ouput
Actual output
The text was updated successfully, but these errors were encountered: