Add APC_STRING since DCS_PASSTHROUGH isnt the last in ParserState anymore

This commit is contained in:
Anthony Kim
2026-01-21 15:50:51 -08:00
parent 3d92a7e2ed
commit b286f21f64
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ export const VT500_TRANSITION_TABLE = (function(): TransitionTable {
EXECUTABLES.push(0x19);
EXECUTABLES.push.apply(EXECUTABLES, r(0x1c, 0x20));
const states: number[] = r(ParserState.GROUND, ParserState.DCS_PASSTHROUGH + 1);
const states: number[] = r(ParserState.GROUND, ParserState.APC_STRING + 1);
let state: any;
// set default transition