mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 09:58:01 +00:00
Explicitly ignore SCI rather than translating it into DECID. Should fix
bug sci-is-not-decid. [originally from svn r5164]
This commit is contained in:
parent
5140b67435
commit
9f8182ffd7
@ -2608,13 +2608,20 @@ static void term_out(Terminal *term)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* How about C1 controls ? */
|
/*
|
||||||
|
* How about C1 controls?
|
||||||
|
* Explicitly ignore SCI (0x9a), which we don't translate to DECID.
|
||||||
|
*/
|
||||||
if ((c & -32) == 0x80 && term->termstate < DO_CTRLS &&
|
if ((c & -32) == 0x80 && term->termstate < DO_CTRLS &&
|
||||||
!term->vt52_mode && has_compat(VT220)) {
|
!term->vt52_mode && has_compat(VT220)) {
|
||||||
|
if (c == 0x9a)
|
||||||
|
c = 0;
|
||||||
|
else {
|
||||||
term->termstate = SEEN_ESC;
|
term->termstate = SEEN_ESC;
|
||||||
term->esc_query = FALSE;
|
term->esc_query = FALSE;
|
||||||
c = '@' + (c & 0x1F);
|
c = '@' + (c & 0x1F);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* Or the GL control. */
|
/* Or the GL control. */
|
||||||
if (c == '\177' && term->termstate < DO_CTRLS && has_compat(OTHER)) {
|
if (c == '\177' && term->termstate < DO_CTRLS && has_compat(OTHER)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user