From b605dfa84b8dee608f612522d2edf089d93197bd Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Mon, 15 Oct 2012 08:18:27 +0000 Subject: [PATCH] terminology: reset scroll markers once done SVN revision: 77987 --- src/bin/termptyops.c | 2 ++ 1 file changed, 2 insertions(+) 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