Actually remove link from xterm

This commit is contained in:
Carlo Piovesan 2022-10-06 11:58:08 +02:00
parent f2b3ec04ba
commit f7f5845e2b

View file

@ -334,9 +334,6 @@
printOnTerm.printMessage(printOnTerm.getAsciiTitle()); printOnTerm.printMessage(printOnTerm.getAsciiTitle());
printOnTerm.printMessage([""]); printOnTerm.printMessage([""]);
printOnTerm.printMessage(printOnTerm.getAsciiText()); printOnTerm.printMessage(printOnTerm.getAsciiText());
term.registerLinkMatcher(/https:\/\/leaningtech.com\/webvm/, function(mouseEvent, matchedString) {
window.open(matchedString, "_blank")
});
term.registerLinkMatcher(/https:\/\/leaningtech.com\/webvm-virtual-machine-with-networking-via-tailscale/, function(mouseEvent, matchedString) { term.registerLinkMatcher(/https:\/\/leaningtech.com\/webvm-virtual-machine-with-networking-via-tailscale/, function(mouseEvent, matchedString) {
window.open(matchedString, "_blank") window.open(matchedString, "_blank")
}); });