This commit is contained in:
Daniel Imms
2017-03-09 10:47:09 -08:00
parent 11f62bab34
commit bef7137c92
+1 -1
View File
@@ -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);
}