terminology: reset scroll state on "clear all"

SVN revision: 78070
This commit is contained in:
Boris Faure 2012-10-16 19:38:32 +00:00
parent 48f15f3850
commit 7d01e6ad09
1 changed files with 1 additions and 0 deletions

View File

@ -277,6 +277,7 @@ _termpty_clear_screen(Termpty *ty, Termpty_Clear mode)
break;
case TERMPTY_CLR_ALL:
_text_clear(ty, cells, ty->w * ty->h, 0, EINA_TRUE);
ty->state.scroll_y2 = 0;
break;
default:
break;