aboutsummaryrefslogtreecommitdiff
path: root/src/term/mod.rs
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2018-02-16 17:33:32 -0800
committerJoe Wilm <joe@jwilm.com>2018-03-07 09:47:21 -0800
commit001b780dda549b08c170193ea81b9961edb20acf (patch)
treeb0172ab3080f6eab9238222a5135d66cb082a53d /src/term/mod.rs
parent96da93efd63ff3cf7e9f02b6dd3086bc3f876de9 (diff)
downloadalacritty-001b780dda549b08c170193ea81b9961edb20acf.tar.gz
alacritty-001b780dda549b08c170193ea81b9961edb20acf.zip
Scroll to bottom on character received
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()