terminology: reset scroll markers once done

SVN revision: 77987
This commit is contained in:
Boris Faure 2012-10-15 08:18:27 +00:00
parent 28cd2ef56f
commit b605dfa84b
1 changed files with 2 additions and 0 deletions

View File

@ -97,6 +97,7 @@ _termpty_text_scroll(Termpty *ty)
_termpty_text_copy(ty, cells2, cells, ty->w);
}
_text_clear(ty, cells2, ty->w, ' ', EINA_TRUE);
ty->state.scroll_y2 = 0;
}
void
@ -119,6 +120,7 @@ _termpty_text_scroll_rev(Termpty *ty)
_termpty_text_copy(ty, cells, cells2, ty->w);
}
_text_clear(ty, cells, ty->w, ' ', EINA_TRUE);
ty->state.scroll_y2 = 0;
}
void