summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2017-06-06 23:49:24 +0200
committerBoris Faure <billiob@gmail.com>2017-06-06 23:49:24 +0200
commite314dd2f29c60a1ae1d55e7667d5c9b0aa079827 (patch)
treec02e0d34c80b7d5835a1bfaa926746f4cf73d307
parent400b675fc975c1458f0ceeab3e82fe5f92921584 (diff)
termptyops: fix clearing cells on scroll
cells has already the offset taken into account
-rw-r--r--src/bin/termptyops.c2
1 files changed, 1 insertions, 1 deletions
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)
86 termpty_cell_copy(ty, cells, cells2, w); 86 termpty_cell_copy(ty, cells, cells2, w);
87 } 87 }
88 if (clear) 88 if (clear)
89 termpty_cells_clear(ty, cells + x, w); 89 termpty_cells_clear(ty, cells, w);
90 } 90 }
91} 91}
92 92