* predefined_mci.js: General method for resolving MCI codes -> string

* Changed MCI resolution to use object to function mapping so entries not yet available would not be executed
* enigmaToAnsi() can now (optionally) resolve MCI codes
* pipeWrite() resolves MCI codes
This commit is contained in:
Bryan Ashby 2015-09-10 21:01:04 -06:00
parent 870e5a9136
commit 6b03b5357f
6 changed files with 130 additions and 116 deletions

View file

@ -138,7 +138,7 @@ ClientTerminal.prototype.rawWrite = function(s) {
};
ClientTerminal.prototype.pipeWrite = function(s) {
this.write(enigmaToAnsi(s));
this.write(enigmaToAnsi(s, this));
};
ClientTerminal.prototype.encode = function(s, convertLineFeeds) {