[vte/vte-0-36] emulation: Fix background when bottom row is scrolled upwards



commit bd03247ac0be93a9666e3091b9c12b6ad2ae74e0
Author: Egmont Koblinger <egmont gmail com>
Date:   Tue Oct 22 23:59:47 2013 +0200

    emulation: Fix background when bottom row is scrolled upwards
    
    Make scrolling the bottom row upwards not fill this row with the
    background color. Only the new empty bottom line should be filled.
    
    To reproduce, run
    
    $ echo -e '\e['$LINES'H\e[43mBottom row'; sleep 100
    
    When the row containig the text "Bottom row" gets scrolled up by 1, it was
    filled with the background color in vte, but not in xterm.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=710486

 src/vte.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/src/vte.c b/src/vte.c
index e2aa3f1..de9c55a 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -3206,13 +3206,6 @@ _vte_terminal_cursor_down (VteTerminal *terminal)
                end = start + terminal->row_count - 1;
        }
        if (screen->cursor_current.row == end) {
-               /* Match xterm and fill to the end of row when scrolling. */
-               if (screen->fill_defaults.attr.back != VTE_DEF_BG) {
-                       VteRowData *rowdata;
-                       rowdata = _vte_terminal_ensure_row (terminal);
-                       _vte_row_data_fill (rowdata, &screen->fill_defaults, terminal->column_count);
-               }
-
                if (screen->scrolling_restricted) {
                        if (start == screen->insert_delta) {
                                /* Scroll this line into the scrollback


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