diff options
author | Aram Drevekenin <aram@poor.dev> | 2022-02-25 15:01:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-25 15:01:08 +0100 |
commit | 3bbae77921af869b9a58f6d5ceef410c5fd20c15 (patch) | |
tree | f1d183cbb3460a8b64d22a11b80c341650097f04 /zellij-server/src/panes | |
parent | e4829ee6ad7a3467e32ddbc22fc54f4ae3bee420 (diff) |
fix(compatibility): properly clear pane before switching to alternate screen (#1120)
Diffstat (limited to 'zellij-server/src/panes')
-rw-r--r-- | zellij-server/src/panes/grid.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zellij-server/src/panes/grid.rs b/zellij-server/src/panes/grid.rs index b524c69b6..6810890f8 100644 --- a/zellij-server/src/panes/grid.rs +++ b/zellij-server/src/panes/grid.rs @@ -1802,6 +1802,7 @@ impl Perform for Grid { Some((current_lines_above, current_viewport, current_cursor)); self.clear_viewport_before_rendering = true; self.scrollback_buffer_lines = self.recalculate_scrollback_buffer_count(); + self.output_buffer.update_all_lines(); // make sure the screen gets cleared in the next render } Some(1) => { self.cursor_key_mode = true; |