mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
Removed code suspected for traces on screen when scrolling.
This commit is contained in:
parent
5b390d6b55
commit
4d85cd24eb
@ -1298,19 +1298,6 @@ add_char_true(struct string *screen, struct screen_driver *driver,
|
|||||||
if (is_last_line && x == xmax) \
|
if (is_last_line && x == xmax) \
|
||||||
break; \
|
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
|
/* Move the cursor when @prev_pos is more than 10 chars
|
||||||
* away. */ \
|
* away. */ \
|
||||||
|
Loading…
Reference in New Issue
Block a user