* 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:
10
core/art.js
10
core/art.js
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user