billiob pushed a commit to branch master.

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

commit 4d629c5575936af49bc1b2c1055a7f9f362934b5
Author: Boris Faure <[email protected]>
Date:   Sun Nov 10 15:34:40 2013 +0100

    do not try to reflow altbuf
---
 src/bin/termpty.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/bin/termpty.c b/src/bin/termpty.c
index 78035d7..e365870 100644
--- a/src/bin/termpty.c
+++ b/src/bin/termpty.c
@@ -815,9 +815,11 @@ _termpty_vertically_expand(Termpty *ty, int old_w, int 
old_h,
                            Termcell *old_screen)
 {
    int from_history = 0, y;
-   
+
+   if (ty->altbuf) return;
+
    termpty_save_freeze();
-   
+
    if (ty->backmax > 0)
      from_history = MIN(ty->h - old_h, ty->backscroll_num);
    if (old_screen)
@@ -879,6 +881,8 @@ _termpty_vertically_shrink(Termpty *ty, int old_w, int 
old_h,
        y;
    Termcell *src, *dst;
 
+   if (ty->altbuf) return;
+
    termpty_save_freeze();
    
    old_circular_offset = ty->circular_offset;

-- 


Reply via email to