fix regression where BEL is accepted to end OSC sequences

This commit is contained in:
Mitchell Hashimoto
2023-03-17 14:18:34 -07:00
parent e1d73ecec8
commit f79d9ba3a7

View File

@ -342,9 +342,15 @@ fn genTable() Table {
// events
single(&result, 0x19, source, source, .ignore);
range(&result, 0, 0x17, source, source, .ignore);
range(&result, 0, 0x06, source, source, .ignore);
range(&result, 0x08, 0x17, source, source, .ignore);
range(&result, 0x1C, 0x1F, source, source, .ignore);
range(&result, 0x20, 0x7F, source, source, .osc_put);
// XTerm accepts either BEL or ST for terminating OSC
// sequences, and when returning information, uses the same
// terminator used in a query.
single(&result, 0x07, source, .ground, .none);
}
// Create our immutable version