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, 4 insertions, 0 deletions
diff --git a/src/term/mod.rs b/src/term/mod.rs
index a523acaa..669ada2f 100644
--- a/src/term/mod.rs
+++ b/src/term/mod.rs
@@ -807,6 +807,10 @@ impl Term {
self.dirty = true;
}
+ pub fn reset_scroll(&mut self) {
+ self.grid.reset_scroll();
+ }
+
#[inline]
pub fn get_next_mouse_cursor(&mut self) -> Option<MouseCursor> {
self.next_mouse_cursor.take()