8000 Does not work on terminal-link · Issue #28 · chalk/ansi-regex · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Does not work on terminal-link #28
Closed
@LitoMore

Description

@LitoMore

This bug only appears on iTerm 2.

How to reproduce

const terminalLink = require('terminal-link');
const stripAnsi = require('strip-ansi');

const link = terminalLink('click', 'https://github.com', {fallback: text => text});

console.log(stripAnsi(link));

Expected ouput

click

Actual output

ttps://github.com/sindresorhusclick

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0