Earlier quoted context omitted.
There is https://github.com/webpro/ANSI.tools/blob/main/packages/pars... and others
I was thinking of http://artscene.textfiles.com/vt100/torturet.vt >.
Inspect ANSI control codes and escape sequences
51–52 of 52 posts
Re: Inspect ANSI control codes and escape sequences
#52Earlier quoted context omitted.
They are not special cased: https://github.com/webpro/ANSI.tools/blob/main/packages/parser/src/parsers/csi.ts#L12 The comment correctly identifies the 0x30-0x3f range as parameter bytes and the following as intermediate bytes. Both the range and the names for the bytes are matching ECMA-48 Chapter 5.4. But you seem to think that everyone except yourself is incompetent, are you trying to make up for something?
Of course they are. There's a file with all of the special cased constants in, named constants.ts. Your superficial test tested all three of the special cases in the PRIVATE_OPENERS array, which is what the parser.ts code actually checks. DEC's question mark, which is special cased yet further off on its own, is in reality another "private opener", too, and it isn't limited to DEC (e.g. XQTMODKEYS), and neither does…