[vte] emulation: Disregard bce when a new line appears at the bottom
- From: Egmont Koblinger <egmontkob src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] emulation: Disregard bce when a new line appears at the bottom
- Date: Fri, 2 Oct 2015 19:26:36 +0000 (UTC)
commit 18171bcfeaf8f3bf4bcb8a04dfcff916a3fbc40b
Author: Egmont Koblinger <egmont gmail com>
Date: Fri Oct 2 21:20:30 2015 +0200
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
src/vte.cc | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/vte.cc b/src/vte.cc
index 70c1e55..014edd2 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++;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]