mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
de66b0313a
A user reports that the xterm OSC 112 sequence (reset cursor colour) is sometimes sent as simply OSC 112 BEL, rather than OSC 112 ; BEL. When xterm parses this, the BEL still acts as an OSC terminator, even though it appears before the separating semicolon that shifts into the 'absorb the notional command string' state. PuTTY doesn't support that sequence at all. But currently, the way it doesn't support it is by treating the BEL completely normally, so that you get an annoying beep when a client application sends that abbreviated sequence. Now we recognise all the OSC terminator sequences even in the OSC setup termstates, as well as the final OSC_STRING state. That goes equally for BEL, ST in the form of ESC \, ST in the form of single-byte 0x9C, and ST in the UTF-8 encoding. |
||
---|---|---|
.. | ||
bidi_gettype.c | ||
bidi_test.c | ||
bidi.c | ||
bidi.h | ||
terminal.c | ||
terminal.h |