aboutsummaryrefslogtreecommitdiff
path: root/src/term/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/term/mod.rs')
-rw-r--r--src/term/mod.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/term/mod.rs b/src/term/mod.rs
index 08299987..4ee685b1 100644
--- a/src/term/mod.rs
+++ b/src/term/mod.rs
@@ -1443,7 +1443,9 @@ impl ansi::Handler for Term {
for cell in &mut self.grid[self.cursor.point.line][..self.cursor.point.col] {
cell.reset(&template);
}
- }
+ },
+ // If scrollback is implemented, this should clear it
+ ansi::ClearMode::Saved => return
}
}