term: RIS must clear the scrollback

closes: #511
This commit is contained in:
Wez Furlong committed 2021-03-03 07:44:57 -08:00
1 parent d6daeb0399
commit 76c7ef56df
2 files changed
+2

No files matched your search

+1
View File
@@ -37,6 +37,7 @@ brief notes about them may accumulate here.
* New: [window:set_config_overrides](config/lua/window/set_config_overrides.md) method that can be used to override GUI related configuration options on a per-window basis. Click through to see examples of dynamically toggling ligatures and window opacity. [#469](https://github.com/wez/wezterm/issues/469) [#329](https://github.com/wez/wezterm/issues/329)
* Fixed: line-based mouse selection (default: triple click) now extends forwards to include wrapped lines. [#466](https://github.com/wez/wezterm/issues/466)
* New: introduced [custom_block_glyphs](config/lua/config/custom_block_glyphs.md) option to ensure that block glyphs don't have gaps. [#433](https://github.com/wez/wezterm/issues/433)
* Fixed: the [RIS](https://vt100.net/docs/vt510-rm/RIS) escape wasn't clearing the scrollback. [#511](https://github.com/wez/wezterm/issues/511)
### 20210203-095643-70a364eb
+1
View File
@@ -3096,6 +3096,7 @@ impl<'a> Performer<'a> {
self.left_and_right_margins = 0..self.screen().physical_cols;
self.screen.activate_primary_screen();
self.erase_in_display(EraseInDisplay::EraseScrollback);
self.erase_in_display(EraseInDisplay::EraseDisplay);
}