mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-29 14:06:09 +02:00
Getting closer, fixed fse
This commit is contained in:
parent
77e4425df6
commit
b7da0dc82a
6 changed files with 81 additions and 48 deletions
|
@ -21,10 +21,16 @@ function ANSIEscapeParser(options) {
|
|||
events.EventEmitter.call(this);
|
||||
|
||||
this.column = 1;
|
||||
this.row = 1;
|
||||
this.scrollBack = 0;
|
||||
this.graphicRendition = {};
|
||||
|
||||
if(options.startRow != null) {
|
||||
this.row = options.startRow;
|
||||
}
|
||||
else {
|
||||
this.row = 1;
|
||||
}
|
||||
|
||||
this.parseState = {
|
||||
re : /(?:\x1b\x5b)([?=;0-9]*?)([ABCDHJKfhlmnpsu])/g, // eslint-disable-line no-control-regex
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue