mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-31 23:16:09 +02:00
TODO for IAC processing
This commit is contained in:
parent
72301104ff
commit
03b79fa9f2
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue