billiob pushed a commit to branch master. http://git.enlightenment.org/apps/terminology.git/commit/?id=40f0dc69504b399e10fe05d78c81987648ae3247
commit 40f0dc69504b399e10fe05d78c81987648ae3247 Author: Boris Faure <bill...@gmail.com> Date: Sat Nov 16 19:27:09 2013 +0100 simplify code --- src/bin/termptyesc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/bin/termptyesc.c b/src/bin/termptyesc.c index a45f68a..c96aaab 100644 --- a/src/bin/termptyesc.c +++ b/src/bin/termptyesc.c @@ -942,9 +942,8 @@ _handle_esc_csi(Termpty *ty, const Eina_Unicode *c, Eina_Unicode *ce) DBG("2 regions args: %i %i", arg, arg2); if (arg >= ty->h) arg = ty->h - 1; if (arg2 > ty->h) arg2 = ty->h; - arg2++; ty->state.scroll_y1 = arg - 1; - ty->state.scroll_y2 = arg2 - 1; + ty->state.scroll_y2 = arg2; } } } --