fix(compatibility): do not remove frame when clearing viewport (#652)

This commit is contained in:
Aram Drevekenin 2021-08-20 16:04:12 +02:00 committed by GitHub
parent 2100865063
commit a4e6e89a76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -193,8 +193,8 @@ impl Pane for TerminalPane {
let mut character_styles = CharacterStyles::new();
if self.grid.clear_viewport_before_rendering {
for line_index in 0..self.grid.height {
let x = self.get_x();
let y = self.get_y();
let x = self.get_content_x();
let y = self.get_content_y();
vte_output.push_str(&format!(
"\u{1b}[{};{}H\u{1b}[m",
y + line_index + 1,