diff options
author | Boris Faure <billiob@gmail.com> | 2017-06-06 23:49:24 +0200 |
---|---|---|
committer | Boris Faure <billiob@gmail.com> | 2017-06-06 23:49:24 +0200 |
commit | e314dd2f29c60a1ae1d55e7667d5c9b0aa079827 (patch) | |
tree | c02e0d34c80b7d5835a1bfaa926746f4cf73d307 | |
parent | termptyesc: restrict CUP/HVP to right/bottom margins (diff) | |
download | terminology-e314dd2f29c60a1ae1d55e7667d5c9b0aa079827.tar.gz |
termptyops: fix clearing cells on scroll
cells has already the offset taken into account
-rw-r--r-- | src/bin/termptyops.c | 2 |
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) termpty_cell_copy(ty, cells, cells2, w); } if (clear) - termpty_cells_clear(ty, cells + x, w); + termpty_cells_clear(ty, cells, w); } } |