billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=e314dd2f29c60a1ae1d55e7667d5c9b0aa079827

commit e314dd2f29c60a1ae1d55e7667d5c9b0aa079827
Author: Boris Faure <bill...@gmail.com>
Date:   Tue Jun 6 23:49:24 2017 +0200

    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 5be2ad5..e300db4 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);
      }
 }
 

-- 


Reply via email to