mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
also exclude Terminado
This commit is contained in:
@@ -19,12 +19,10 @@
|
||||
addon(window.Terminal);
|
||||
}
|
||||
})(function _zmodemAddon(Terminal) {
|
||||
if (Terminal.prototype.attach) {
|
||||
throw "The “zmodem” and “attach” addons are mutually incompatible.";
|
||||
}
|
||||
|
||||
function _makeSendWsWrapper(socket) {
|
||||
return
|
||||
for (let f of ["attach", "terminadoAttach"]) {
|
||||
if (Terminal.prototype[f]) {
|
||||
throw new Error(`The “zmodem” and “${f}” addons are mutually incompatible.`);
|
||||
}
|
||||
}
|
||||
|
||||
Object.assign(
|
||||
|
||||
Reference in New Issue
Block a user