summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2009-12-09 01:29:27 -0500
committerBehdad Esfahbod <behdad@behdad.org>2009-12-09 01:29:27 -0500
commit31ba6a0a615c9b5d61bb335f756c7c02e701ef5e (patch)
treef52c61211652b1bed02d7818025055e273ff105d /src
parentfa070a0ebdfab5e33e550e4561179498752a29c6 (diff)
Bug 604135 - [PATCH] fix behaviour of set-scrolling-region
Diffstat (limited to 'src')
-rw-r--r--src/vteseq.c3
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