forked from enlightenment/terminology
Do not switch buffer if buffer already switched.
Summary: Mutt does this. It sets the alternate buffer, it disables it, it disables it again and enables it back. Test Plan: Run mutt, quit mutt, run mutt, quit mutt. You should see the residual background from mutt. Reviewers: billiob Differential Revision: https://phab.enlightenment.org/D371
This commit is contained in:
parent
59a7627e86
commit
e170f85ce3
|
@ -840,9 +840,9 @@ _handle_esc_csi(Termpty *ty, const Eina_Unicode *c, Eina_Unicode *ce)
|
|||
// into the screen2 save (so save is
|
||||
// clear)
|
||||
_termpty_clear_all(ty);
|
||||
|
||||
// swap screen content now
|
||||
termpty_screen_swap(ty);
|
||||
if (mode != ty->altbuf)
|
||||
termpty_screen_swap(ty);
|
||||
break;
|
||||
case 1048:
|
||||
if (mode)
|
||||
|
|
Loading…
Reference in New Issue