* Try to handle socket error

* Fix bug in wrapping with MultiLineEditText
* Updates on message base DB layout/triggers
* Detect some terminals via ANSI DSR for device attributes (WIP)
This commit is contained in:
Bryan Ashby 2015-07-06 22:37:11 -06:00
parent 2b963ce6f9
commit 40e0b55424
7 changed files with 83 additions and 11 deletions

View file

@ -477,6 +477,11 @@ function TelnetClient(input, output) {
this.input.on('end', function() {
self.emit('end');
});
this.input.on('error', function sockError(err) {
Log.debug(err); // :TODO: probably something better...
self.emit('end');
});
}
util.inherits(TelnetClient, baseClient.Client);