From bef7137c925f4e113cd35d26179aeea9b4b2f5c3 Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Thu, 9 Mar 2017 10:47:09 -0800 Subject: [PATCH] Fix bug --- src/xterm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xterm.js b/src/xterm.js index 86f648b6..f139bbc9 100644 --- a/src/xterm.js +++ b/src/xterm.js @@ -1290,7 +1290,7 @@ Terminal.prototype.setHypertextLinkHandler = function(handler) { if (!this.linkifier) { throw new Error('Cannot attach a hypertext link handler before Terminal.open is called'); } - this.linkifier.attachHypertextLinkHandler(handler); + this.linkifier.setHypertextLinkHandler(handler); // Refresh to force links to refresh this.refresh(0, this.rows - 1); }