forked from enlightenment/terminology
do not try to reflow altbuf
This commit is contained in:
parent
abaee4afd9
commit
4d629c5575
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue