adjust scroll with direction
never noticed the bug but might occur
This commit is contained in:
parent
7191991aec
commit
92555866ee
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue