billiob pushed a commit to branch terminology-1.3.

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

commit 007dfb60e37c1718b822aeee86d6a16fb46873aa
Author: Boris Faure <bill...@gmail.com>
Date:   Fri Jan 4 23:35:48 2019 +0100

    termpty: reset circular_offset2 (for the 2nd buffer) to 0 (as it's cleared)
    
    Closes T7543
---
 src/bin/termpty.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/termpty.c b/src/bin/termpty.c
index befdbf4..c596379 100644
--- a/src/bin/termpty.c
+++ b/src/bin/termpty.c
@@ -1446,6 +1446,7 @@ termpty_resize(Termpty *ty, int new_w, int new_h)
    ty->cursor_state.cy = (new_si.cy >= 0) ? new_si.cy : 0;
    ty->cursor_state.cx = (new_si.cx >= 0) ? new_si.cx : 0;
    ty->circular_offset = new_si.circular_offset;
+   ty->circular_offset2 = 0;
 
    ty->w = new_w;
    ty->h = new_h;

-- 


Reply via email to