aboutsummaryrefslogtreecommitdiffstats
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
parenttermptyesc: restrict CUP/HVP to right/bottom margins (diff)
downloadterminology-e314dd2f29c60a1ae1d55e7667d5c9b0aa079827.tar.gz
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)
termpty_cell_copy(ty, cells, cells2, w);
}
if (clear)
- termpty_cells_clear(ty, cells + x, w);
+ termpty_cells_clear(ty, cells, w);
}
}