From 03b79fa9f294bc840f3d7a6586d19a7ef3a22707 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Wed, 20 May 2020 20:24:26 -0600 Subject: [PATCH] TODO for IAC processing --- core/file_transfer.js | 1 + 1 file changed, 1 insertion(+) 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 {