diff --git a/src/bin/termptyops.c b/src/bin/termptyops.c index d7c2dbc9..bfd755a8 100644 --- a/src/bin/termptyops.c +++ b/src/bin/termptyops.c @@ -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