Fix bug
This commit is contained in:
+1
-1
@@ -1290,7 +1290,7 @@ Terminal.prototype.setHypertextLinkHandler = function(handler) {
|
|||||||
if (!this.linkifier) {
|
if (!this.linkifier) {
|
||||||
throw new Error('Cannot attach a hypertext link handler before Terminal.open is called');
|
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
|
// Refresh to force links to refresh
|
||||||
this.refresh(0, this.rows - 1);
|
this.refresh(0, this.rows - 1);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user