fix default transition for 0xa0

This commit is contained in:
jerch
2018-12-10 16:37:48 +01:00
committed by GitHub
parent 2cb293ceb2
commit 2d8f420db8
+1 -1
View File
@@ -83,7 +83,7 @@ export const VT500_TRANSITION_TABLE = (function (): TransitionTable {
// table with default transition
for (state in states) {
// NOTE: table lookup is capped at 0xa0 in parse to keep the table small
for (let code = 0; code < 160; ++code) {
for (let code = 0; code <= NON_ASCII_PRINTABLE; ++code) {
table.add(code, state, ParserAction.ERROR, ParserState.GROUND);
}
}