Fix screen refresh with screen, ssh, vim, ...
Summary: This closes T143. Reviewers: billiob Reviewed By: billiob Maniphest Tasks: T143 Differential Revision: https://phab.enlightenment.org/D340
This commit is contained in:
parent
f8edf059d4
commit
7447178071
|
@ -1494,7 +1494,7 @@ termpty_cell_swap(Termpty *ty EINA_UNUSED, Termcell *src, Termcell *dst, int n)
|
|||
{
|
||||
t = dst[i];
|
||||
dst[i] = src[i];
|
||||
dst[i] = t;
|
||||
src[i] = t;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -845,7 +845,7 @@ _handle_esc_csi(Termpty *ty, const Eina_Unicode *c, Eina_Unicode *ce)
|
|||
// swap screen content now
|
||||
for (i = 0; i < size; i++)
|
||||
termpty_cell_swap(ty,
|
||||
&(ty->screen[(i + ty->circular_offset) % ty->h]),
|
||||
&(ty->screen[(i + ty->circular_offset * ty->w) % size]),
|
||||
&(ty->screen2[i]),
|
||||
1);
|
||||
ty->altbuf = !ty->altbuf;
|
||||
|
|
Loading…
Reference in New Issue