mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-06 12:47:13 +02:00
* SSH is now functional for 'ssh', PuTTY, SyncTerm, EtherTerm, and hopefully most others
* Explicit detect of syncterm as ANSI * Add serverType (TELNET, SSH) MCI: %ST
This commit is contained in:
parent
e7e9746a85
commit
ad4eea6ba7
12 changed files with 101 additions and 43 deletions
|
@ -425,7 +425,15 @@ Client.prototype.end = function () {
|
|||
|
||||
clearInterval(this.idleCheck);
|
||||
|
||||
return this.output.end.apply(this.output, arguments);
|
||||
try {
|
||||
//
|
||||
// We can end up calling 'end' before TTY/etc. is established, e.g. with SSH
|
||||
//
|
||||
// :TODO: is this OK?
|
||||
return this.output.end.apply(this.output, arguments);
|
||||
} catch(e) {
|
||||
// TypeError
|
||||
}
|
||||
};
|
||||
|
||||
Client.prototype.destroy = function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue