Small terminal fix from RDB: CSI 1 K should erase the cursor
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 19 May 2001 11:32:38 +0000 (11:32 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 19 May 2001 11:32:38 +0000 (11:32 +0000)
position itself, as well as everything to the left of it.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1132 cda61777-01e9-0310-a592-d414129be87e

terminal.c

index d84f57e..b01ef80 100644 (file)
@@ -735,6 +735,7 @@ static void erase_lots(int line_only, int from_begin, int to_end)
     }
     if (!to_end) {
        end = curs;
+       incpos(end);
     }
     check_selection(start, end);