From e314dd2f29c60a1ae1d55e7667d5c9b0aa079827 Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Tue, 6 Jun 2017 23:49:24 +0200 Subject: [PATCH] termptyops: fix clearing cells on scroll cells has already the offset taken into account --- src/bin/termptyops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/termptyops.c b/src/bin/termptyops.c index 5be2ad53..e300db45 100644 --- a/src/bin/termptyops.c +++ b/src/bin/termptyops.c @@ -86,7 +86,7 @@ termpty_text_scroll(Termpty *ty, Eina_Bool clear) termpty_cell_copy(ty, cells, cells2, w); } if (clear) - termpty_cells_clear(ty, cells + x, w); + termpty_cells_clear(ty, cells, w); } }