From 514f630cf3d08b8cd517e2f00ce823cf95fd28d9 Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Mon, 9 Jun 2014 14:03:25 +0200 Subject: [PATCH] fix text scrolling --- 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 ed3c6a87..05ec5f1f 100644 --- a/src/bin/termptyops.c +++ b/src/bin/termptyops.c @@ -92,7 +92,7 @@ _termpty_text_scroll(Termpty *ty, Eina_Bool clear) else { cells = &(TERMPTY_SCREEN(ty, 0, end_y)); - for (y = start_y; y < end_y - 1; y++) + for (y = start_y; y < end_y; y++) { cells = &(TERMPTY_SCREEN(ty, 0, (y + 1))); cells2 = &(TERMPTY_SCREEN(ty, 0, y));