summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEgmont Koblinger <egmont@gmail.com>2015-10-02 21:20:30 +0200
committerEgmont Koblinger <egmont@gmail.com>2015-10-02 21:25:40 +0200
commit18171bcfeaf8f3bf4bcb8a04dfcff916a3fbc40b (patch)
tree7076819b6d62c429c2dad0009fa40daef44f98fa
parent71be227f36f058baf812f68deea3f368b27b3b98 (diff)
downloadvte-18171bcfeaf8f3bf4bcb8a04dfcff916a3fbc40b.tar.gz
emulation: Disregard bce when a new line appears at the bottom
Applying bce (background color erase) on a line that newly appears at the bottom when scrolling is a badly designed feature, causing many problems. Let's see if we break anything by disabling it. https://bugzilla.gnome.org/show_bug.cgi?id=754596
-rw-r--r--src/vte.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vte.cc b/src/vte.cc
index 70c1e557..014edd26 100644
--- a/src/vte.cc
+++ b/src/vte.cc
@@ -3409,11 +3409,13 @@ _vte_terminal_cursor_down (VteTerminal *terminal)
}
/* Match xterm and fill the new row when scrolling. */
+#if 0 /* Disable for now: see bug 754596. */
if (terminal->pvt->fill_defaults.attr.back != VTE_DEFAULT_BG) {
VteRowData *rowdata;
rowdata = _vte_terminal_ensure_row (terminal);
_vte_row_data_fill (rowdata, &terminal->pvt->fill_defaults, terminal->pvt->column_count);
}
+#endif
} else {
/* Otherwise, just move the cursor down. */
terminal->pvt->cursor.row++;