TODO for IAC processing

This commit is contained in:
Bryan Ashby 2020-05-20 20:24:26 -06:00
parent 72301104ff
commit 03b79fa9f2
No known key found for this signature in database
GPG Key ID: B49EB437951D2542
1 changed files with 1 additions and 0 deletions

View File

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