From df6c9ab0835deaf8cf687c4cb4525c33e0c7118e Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sat, 19 May 2001 11:32:38 +0000 Subject: [PATCH] Small terminal fix from RDB: CSI 1 K should erase the cursor position itself, as well as everything to the left of it. [originally from svn r1132] --- terminal.c | 1 + 1 file changed, 1 insertion(+) diff --git a/terminal.c b/terminal.c index d84f57ee..b01ef80d 100644 --- a/terminal.c +++ b/terminal.c @@ -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);