billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=92555866ee51b715b3dfeb10ae5296dcf6196957

commit 92555866ee51b715b3dfeb10ae5296dcf6196957
Author: Boris Faure <[email protected]>
Date:   Sun Jun 15 22:49:13 2014 +0200

    adjust scroll with direction
    
    never noticed the bug but might occur
---
 src/bin/termio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/termio.c b/src/bin/termio.c
index dc8c473..9f2eb44 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -3986,7 +3986,7 @@ termio_scroll(Evas_Object *obj, int direction, int 
start_y, int end_y)
        (sd->scroll > 0))
      {
         // adjust scroll position for added scrollback
-        sd->scroll++;
+        sd->scroll -= direction;
         if (sd->scroll > sd->pty->backscroll_num)
           sd->scroll = sd->pty->backscroll_num;
      }

-- 


Reply via email to