* Some minor code cleanup

* Some experimental stuff - likely to just drop soon, so no need for a branch
* Minor changes to ansi escape parser
This commit is contained in:
Bryan Ashby
2016-05-23 20:45:18 -06:00
parent 77a9306afa
commit 4f719259fe
5 changed files with 296 additions and 39 deletions

View File

@@ -360,9 +360,19 @@ function display(options, cb) {
}
});
/*
parser.on('chunk', function onChunk(chunk) {
options.client.term.write(chunk, false);
});
*/
parser.on('literal', literal => {
options.client.term.write(literal, false);
});
parser.on('control', control => {
options.client.term.write(control, false);
});
parser.on('complete', function onComplete() {
parseComplete = true;