[vte] Bug 604135 - [PATCH] fix behaviour of set-scrolling-region



commit 31ba6a0a615c9b5d61bb335f756c7c02e701ef5e
Author: Behdad Esfahbod <behdad behdad org>
Date:   Wed Dec 9 01:29:27 2009 -0500

    Bug 604135 - [PATCH] fix behaviour of set-scrolling-region

 src/vteseq.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/vteseq.c b/src/vteseq.c
index cd59b5a..46d8ccc 100644
--- a/src/vteseq.c
+++ b/src/vteseq.c
@@ -1227,8 +1227,7 @@ vte_sequence_handler_cs (VteTerminal *terminal, GValueArray *params)
 	    screen->scrolling_region.end == rows - 1) {
 		screen->scrolling_restricted = FALSE;
 	}
-	screen->cursor_current.row = screen->insert_delta + start;
-	screen->cursor_current.col = 0;
+	_vte_terminal_home_cursor (terminal);
 }
 
 /* Restrict scrolling and updates to a subset of the visible lines, because



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]