fix(compatibility): do not remove frame when clearing viewport (#652)
This commit is contained in:
parent
2100865063
commit
a4e6e89a76
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue