Skip to content

Commit 69a3e0e

Browse files
chore: bump conformance pin to @xterm/headless@6.1.0-beta.216 and remove redundant DCS table entries
Remove four redundant r(0x1c, 0x20) transition table entries from DCS states. These bytes are already covered by the executables range set earlier for each state, so the entries were silently overwritten. Aligns with upstream commit 80debafa. Bump conformance pin from 6.1.0-beta.199 to 6.1.0-beta.216. No behavioral changes — regenerated golden data is identical. Fixes #26 Co-authored-by: Ona <no-reply@ona.com>
1 parent c4f7fa4 commit 69a3e0e

3 files changed

Lines changed: 5 additions & 9 deletions

File tree

conformance/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"generate": "node generate.mjs"
77
},
88
"dependencies": {
9-
"@xterm/headless": "6.1.0-beta.199"
9+
"@xterm/headless": "6.1.0-beta.216"
1010
}
1111
}

conformance/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# yarn lockfile v1
33

44

5-
"@xterm/headless@6.1.0-beta.199":
6-
version "6.1.0-beta.199"
7-
resolved "https://registry.yarnpkg.com/@xterm/headless/-/headless-6.1.0-beta.199.tgz#cc5ea68420011dba5decb73dbd04c6a9fdea167a"
8-
integrity sha512-7p1FEXBXBYeXySmoe7Mpta+XBrFcuBD/j9gNuM5SttWgGAh3InXYZgWbhrNTZE712CglfSOolmd0LzpQUnP5+g==
5+
"@xterm/headless@6.1.0-beta.216":
6+
version "6.1.0-beta.216"
7+
resolved "https://registry.yarnpkg.com/@xterm/headless/-/headless-6.1.0-beta.216.tgz#7b98a3ed0a31753511fe1e15cd7820521e30ac1c"
8+
integrity sha512-HCut3ABwBv5zVUAB+5KVTW4svr/fCeVMW9xtaJIhmXZsNHOrhVFOGX7E2CYzRa8xdX/aI2JdTIhgLl8xjcHEoA==

parser_table.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,28 +165,24 @@ func buildVT500TransitionTable() *TransitionTable {
165165
table.Add(0x50, ParserStateEscape, ParserActionClear, ParserStateDCSEntry)
166166
table.AddMany(executables, ParserStateDCSEntry, ParserActionIgnore, ParserStateDCSEntry)
167167
table.Add(0x7f, ParserStateDCSEntry, ParserActionIgnore, ParserStateDCSEntry)
168-
table.AddMany(r(0x1c, 0x20), ParserStateDCSEntry, ParserActionIgnore, ParserStateDCSEntry)
169168
table.AddMany(r(0x20, 0x30), ParserStateDCSEntry, ParserActionCollect, ParserStateDCSIntermediate)
170169
table.AddMany(r(0x30, 0x3c), ParserStateDCSEntry, ParserActionParam, ParserStateDCSParam)
171170
table.AddMany([]int{0x3c, 0x3d, 0x3e, 0x3f}, ParserStateDCSEntry, ParserActionCollect, ParserStateDCSParam)
172171

173172
// --- DCS ignore ---
174173
table.AddMany(executables, ParserStateDCSIgnore, ParserActionIgnore, ParserStateDCSIgnore)
175174
table.AddMany(r(0x20, 0x80), ParserStateDCSIgnore, ParserActionIgnore, ParserStateDCSIgnore)
176-
table.AddMany(r(0x1c, 0x20), ParserStateDCSIgnore, ParserActionIgnore, ParserStateDCSIgnore)
177175

178176
// --- DCS param ---
179177
table.AddMany(executables, ParserStateDCSParam, ParserActionIgnore, ParserStateDCSParam)
180178
table.Add(0x7f, ParserStateDCSParam, ParserActionIgnore, ParserStateDCSParam)
181-
table.AddMany(r(0x1c, 0x20), ParserStateDCSParam, ParserActionIgnore, ParserStateDCSParam)
182179
table.AddMany(r(0x30, 0x3c), ParserStateDCSParam, ParserActionParam, ParserStateDCSParam)
183180
table.AddMany([]int{0x3c, 0x3d, 0x3e, 0x3f}, ParserStateDCSParam, ParserActionIgnore, ParserStateDCSIgnore)
184181
table.AddMany(r(0x20, 0x30), ParserStateDCSParam, ParserActionCollect, ParserStateDCSIntermediate)
185182

186183
// --- DCS intermediate ---
187184
table.AddMany(executables, ParserStateDCSIntermediate, ParserActionIgnore, ParserStateDCSIntermediate)
188185
table.Add(0x7f, ParserStateDCSIntermediate, ParserActionIgnore, ParserStateDCSIntermediate)
189-
table.AddMany(r(0x1c, 0x20), ParserStateDCSIntermediate, ParserActionIgnore, ParserStateDCSIntermediate)
190186
table.AddMany(r(0x20, 0x30), ParserStateDCSIntermediate, ParserActionCollect, ParserStateDCSIntermediate)
191187
table.AddMany(r(0x30, 0x40), ParserStateDCSIntermediate, ParserActionIgnore, ParserStateDCSIgnore)
192188
table.AddMany(r(0x40, 0x7f), ParserStateDCSIntermediate, ParserActionDCSHook, ParserStateDCSPassthrough)

0 commit comments

Comments
 (0)