diff --git a/core/file_transfer.js b/core/file_transfer.js index ff9216d6..c5d5030c 100644 --- a/core/file_transfer.js +++ b/core/file_transfer.js @@ -390,6 +390,7 @@ exports.getModule = class TransferFileModule extends MenuModule { // needed for things like sz/rz if(external.escapeTelnet) { + // :TODO: do this faster for already-buffers... const tmp = data.toString('binary').replace(/\xff{2}/g, '\xff'); // de-escape externalProc.write(Buffer.from(tmp, 'binary')); } else {