diff --git a/lib/terminal.js b/lib/terminal.js index 3489337..d1d72f0 100644 --- a/lib/terminal.js +++ b/lib/terminal.js @@ -41,10 +41,7 @@ export default class Terminal { return } - if (terminal == null) { return } - - var decoded = new Buffer(terminal, 'base64').toString(); - this.emit('message', decoded) + this.emit('message', terminal) }) this.socket.on('close', e => this.emit('close', e))