[vte/vte-0-36] emulation: Fix the scrollbar position with restricted scrolling
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte/vte-0-36] emulation: Fix the scrollbar position with restricted scrolling
- Date: Mon, 18 Nov 2013 18:53:34 +0000 (UTC)
commit bba3a71948daea9f95e6fdf1be11ed2a65dddf5b
Author: Egmont Koblinger <egmont gmail com>
Date: Tue Oct 22 23:58:40 2013 +0200
emulation: Fix the scrollbar position with restricted scrolling
To reproduce, produce at least a screenful of text so that the scrollbar is
active. Then enable restricting scrolling, with the upper bound being the
topmost row, e.g. echo -e '\e[1;15r'. Now produce more output so that the
cursor hits the boundary at the 15th row and the content starts scrolling.
The scrollbar starts wandering upwards, though it should stay at the bottom.
When trying to scroll by Shift+PageUp or by dragging the scrollbar, suddenly
everything jumps back to normal.
https://bugzilla.gnome.org/show_bug.cgi?id=710488
src/vte.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/vte.c b/src/vte.c
index 0dff582..e2aa3f1 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -3219,7 +3219,6 @@ _vte_terminal_cursor_down (VteTerminal *terminal)
* buffer by inserting a line at the next
* line and scrolling the area up. */
screen->insert_delta++;
- screen->scroll_delta++;
screen->cursor_current.row++;
/* update start and end, as they are relative
* to insert_delta. */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]