terminology: fix clear screen

SVN revision: 83309
This commit is contained in:
Boris Faure 2013-01-24 21:29:49 +00:00
parent 097bf1a09d
commit f820185c7e
1 changed files with 3 additions and 1 deletions

View File

@ -288,7 +288,9 @@ _termpty_clear_screen(Termpty *ty, Termpty_Clear mode)
if (ty->state.cy < (ty->h - 1))
{
cells = &(TERMPTY_SCREEN(ty, 0, (ty->state.cy + 1)));
_text_clear(ty, cells, ty->w * (ty->h - ty->state.cy - 1), 0, EINA_TRUE);
_text_clear(ty, cells,
ty->w * (ty->h - ty->circular_offset - 1 - ty->state.cy),
0, EINA_TRUE);
}
break;
case TERMPTY_CLR_BEGIN: