1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-23 21:32:13 +03:00

Make RIS also clear the alternate screen

xterm clears the alternate screen on RIS since #383. VTE and konsole
already did that.

From esctest:
RISTests.test_RIS_ExitAltScreen
This commit is contained in:
Luis Javier Merino Morán 2023-11-09 13:06:59 +01:00 committed by Wez Furlong
parent f0e3eecba6
commit c4654d8bf4

View File

@ -700,6 +700,8 @@ impl<'a> Performer<'a> {
self.accumulating_title.take();
self.screen.full_reset();
self.screen.activate_alt_screen(seqno);
self.erase_in_display(EraseInDisplay::EraseDisplay);
self.screen.activate_primary_screen(seqno);
self.erase_in_display(EraseInDisplay::EraseScrollback);
self.erase_in_display(EraseInDisplay::EraseDisplay);