Skip to content

Commit

Permalink
Add support for hyperlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
addy-dclxvi committed Jan 9, 2019
1 parent 7334d58 commit 66570ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ Renderer.prototype.link = function(href, title, text) {
var out = '';

if (supportsHyperlinks.stdout) {
const out = ansiEscapes.link(text?this.emoji(text):href, href);
out = ansiEscapes.link(text?this.emoji(text):href, href);
}else{
if (hasText) out += this.emoji(text) + ' (';
out += this.o.href(href);
Expand Down

0 comments on commit 66570ac

Please sign in to comment.