TODO for IAC processing
This commit is contained in:
parent
72301104ff
commit
03b79fa9f2
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue