diff options
author | Egmont Koblinger <egmont@gmail.com> | 2019-05-31 10:30:52 +0200 |
---|---|---|
committer | Egmont Koblinger <egmont@gmail.com> | 2019-05-31 10:36:25 +0200 |
commit | 9c657532e6c7871266dbf70b6488a749ac22fc14 (patch) | |
tree | 3c3195511b856fb51db4aeac556c66e964fc60ef | |
parent | 4b53da3627efead28ee2034c9ad368e37c378da1 (diff) | |
download | vte-9c657532e6c7871266dbf70b6488a749ac22fc14.tar.gz |
widget: Fix invalidation with scrolling region
In some special case involving a scrolling region, the wrong part
of the display was invalidated.
https://gitlab.gnome.org/GNOME/vte/issues/131
-rw-r--r-- | src/vte.cc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2694,7 +2694,8 @@ Terminal::cursor_down(bool explicit_sequence) ring_insert(m_screen->cursor.row, false); /* Force the areas below the region to be * redrawn -- they've moved. */ - invalidate_rows(start, end); + invalidate_rows(m_screen->cursor.row, + m_screen->insert_delta + m_row_count - 1); /* Force scroll. */ adjust_adjustments(); } else { |