From 4d85cd24ebf8b503d9b12d4bc3495dec3d1c0785 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Wed, 22 Nov 2017 18:19:32 +0100 Subject: [PATCH] Removed code suspected for traces on screen when scrolling. --- src/terminal/screen.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/terminal/screen.c b/src/terminal/screen.c index f624504dc..a0f8b0a84 100644 --- a/src/terminal/screen.c +++ b/src/terminal/screen.c @@ -1298,19 +1298,6 @@ add_char_true(struct string *screen, struct screen_driver *driver, if (is_last_line && x == xmax) \ break; \ \ - if (compare_bg_color(pos->c.color, current->c.color)) { \ - /* No update for exact match. */ \ - if (compare_fg_color(pos->c.color, current->c.color)\ - && pos->data == current->data \ - && pos->attr == current->attr) \ - continue; \ - \ - /* Else if the color match and the data is - * ``space''. */ \ - if (pos->data <= ' ' && current->data <= ' ' \ - && pos->attr == current->attr) \ - continue; \ - } \ \ /* Move the cursor when @prev_pos is more than 10 chars * away. */ \