diff --git a/core/client_term.js b/core/client_term.js index f537c359..e961394e 100644 --- a/core/client_term.js +++ b/core/client_term.js @@ -160,7 +160,7 @@ ClientTerminal.prototype.write = function(s, convertLineFeeds, cb) { }; ClientTerminal.prototype.rawWrite = function(s, cb) { - if(this.output) { + if(this.output && this.output.writable) { this.output.write(s, err => { if(cb) { return cb(err);