mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-28 01:07:08 -05:00
SUPDUP: make the TDCRL command clear to end of line.
A user reported shortly after 0.82 was released that they were experiencing display corruption when connecting to a PDP-10 running ITS using PuTTY's SUPDUP backend, and that the nature of the corruption was consistent with a missing clear-to-EOL operation. Without the SUPDUP or ITS expertise to debug it ourselves, we are indebted to Scott Michel for identifying where, and providing a patch. (However, now that the patch is presented, it's obvious even to me that a line should be cleared here! The comment in PuTTY's own code mentions clearing the line that the cursor has moved on to, and the same text appears in RFC 734.)
This commit is contained in:
parent
3c6a513906
commit
897ecf4678
@ -339,7 +339,7 @@ static void do_argsdone(Supdup *supdup, strbuf *outbuf, int c)
|
||||
that line. If the cursor is at the bottom line, scroll
|
||||
up.
|
||||
*/
|
||||
put_fmt(outbuf, "\015\012");
|
||||
put_fmt(outbuf, "\015\012\033[K");
|
||||
break;
|
||||
|
||||
case TDNOP:
|
||||
|
Loading…
x
Reference in New Issue
Block a user