diff options
author | Joe Wilm <joe@jwilm.com> | 2018-02-16 17:33:32 -0800 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2018-03-07 09:47:21 -0800 |
commit | 001b780dda549b08c170193ea81b9961edb20acf (patch) | |
tree | b0172ab3080f6eab9238222a5135d66cb082a53d /src/term/mod.rs | |
parent | 96da93efd63ff3cf7e9f02b6dd3086bc3f876de9 (diff) | |
download | alacritty-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.rs | 4 |
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() |