mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-08-04 00:41:56 +02:00
* Update some packages
* Use ptyw.js (from a specific rev for now) vs pty.js for better Windows support * Updated docs slightly * Use iconv.encode() in dropfile generation
This commit is contained in:
parent
58bde9784d
commit
c81eb6f514
5 changed files with 15 additions and 8 deletions
|
@ -5,7 +5,7 @@ var spawn = require('child_process').spawn;
|
|||
var events = require('events');
|
||||
|
||||
var _ = require('lodash');
|
||||
var pty = require('pty.js');
|
||||
var pty = require('ptyw.js');
|
||||
|
||||
exports.Door = Door;
|
||||
|
||||
|
@ -47,6 +47,7 @@ Door.prototype.run = function() {
|
|||
|
||||
// :TODO: do this with pluggable pipe/filter classes
|
||||
|
||||
// :TODO: This causes an error to be thrown when e.g. 'cp437' is used due to Node buffer changes
|
||||
door.setEncoding(this.exeInfo.encoding);
|
||||
|
||||
door.on('data', function doorData(data) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue