mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-25 20:18:25 +02:00
* 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:
parent
2b963ce6f9
commit
40e0b55424
7 changed files with 83 additions and 11 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue