Add 'pcansi' support for ZOC terminal

This commit is contained in:
Bryan Ashby 2016-10-01 13:22:34 -06:00
parent b9ef561058
commit c81b6789f4
1 changed files with 4 additions and 3 deletions

View File

@ -131,15 +131,16 @@ ClientTerminal.prototype.isANSI = function() {
// ansi-bbs: // ansi-bbs:
// * fTelnet // * fTelnet
// //
// pcansi:
// * ZOC
//
// screen: // screen:
// * ConnectBot (Android) // * ConnectBot (Android)
// //
// linux: // linux:
// * JuiceSSH (note: TERM=linux also) // * JuiceSSH (note: TERM=linux also)
// //
return [ 'ansi', 'pcansi', 'pc-ansi', 'ansi-bbs', 'qansi', 'scoansi', 'syncterm' ].indexOf(this.termType) > -1;
// :TODO: Others??
return [ 'ansi', 'pc-ansi', 'ansi-bbs', 'qansi', 'scoansi', 'syncterm' ].indexOf(this.termType) > -1;
}; };
// :TODO: probably need to update these to convert IAC (0xff) -> IACIAC (escape it) // :TODO: probably need to update these to convert IAC (0xff) -> IACIAC (escape it)