billiob pushed a commit to branch master.

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

commit ce490ededca34107af160c26f57c70ab52c191f3
Author: Boris Faure <bill...@gmail.com>
Date:   Wed May 17 21:49:29 2017 +0200

    termptyesc: fix issue with tmux introduced by previous commit
---
 src/bin/termptyesc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/termptyesc.c b/src/bin/termptyesc.c
index 7bb131a..c558679 100644
--- a/src/bin/termptyesc.c
+++ b/src/bin/termptyesc.c
@@ -1073,7 +1073,7 @@ _handle_esc_csi(Termpty *ty, const Eina_Unicode *c, 
Eina_Unicode *ce)
                     {
                        DBG("2 regions args: %i %i", arg, arg2);
                        TERMPTY_RESTRICT_FIELD(arg, 1, ty->h);
-                       TERMPTY_RESTRICT_FIELD(arg2, 1, ty->h);
+                       TERMPTY_RESTRICT_FIELD(arg2, 1, ty->h+1);
                        ty->termstate.scroll_y1 = arg - 1;
                        ty->termstate.scroll_y2 = arg2;
                        if ((arg == 1) && (arg2 == ty->h))

-- 


Reply via email to