fix text scrolling

This commit is contained in:
Boris Faure 2014-06-09 14:03:25 +02:00
parent cb6423fd73
commit 514f630cf3
1 changed files with 1 additions and 1 deletions

View File

@ -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));