The terminalSequence parser accepts OSC input where the numeric code is followed by arbitrary text instead of ;/BEL/ST. For example, ESC]9oopsBEL is parsed as an allowed OSC 9 notification. The parser comment says the code should be followed by ; or a terminator, so this should be rejected instead of passed through to the terminal.
The terminalSequence parser accepts OSC input where the numeric code is followed by arbitrary text instead of ;/BEL/ST. For example, ESC]9oopsBEL is parsed as an allowed OSC 9 notification. The parser comment says the code should be followed by ; or a terminator, so this should be rejected instead of passed through to the terminal.