mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-27 21:16:09 +02:00
Additional code changes from PR
This commit is contained in:
parent
94e4f1240e
commit
e9d22b0688
2 changed files with 4 additions and 1 deletions
|
@ -215,6 +215,9 @@ function ANSIEscapeParser(options) {
|
|||
}
|
||||
|
||||
self.reset = function(input) {
|
||||
self.column = 1;
|
||||
self.row = Math.min(options?.startRow ?? 1, self.termHeight);
|
||||
|
||||
self.parseState = {
|
||||
// ignore anything past EOF marker, if any
|
||||
buffer : input.split(String.fromCharCode(0x1a), 1)[0],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue