mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 16:26:08 +03:00
fix regression where BEL is accepted to end OSC sequences
This commit is contained in:
@ -342,9 +342,15 @@ fn genTable() Table {
|
|||||||
|
|
||||||
// events
|
// events
|
||||||
single(&result, 0x19, source, source, .ignore);
|
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, 0x1C, 0x1F, source, source, .ignore);
|
||||||
range(&result, 0x20, 0x7F, source, source, .osc_put);
|
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
|
// Create our immutable version
|
||||||
|
Reference in New Issue
Block a user