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/event.rs | |
parent | 96da93efd63ff3cf7e9f02b6dd3086bc3f876de9 (diff) | |
download | alacritty-001b780dda549b08c170193ea81b9961edb20acf.tar.gz alacritty-001b780dda549b08c170193ea81b9961edb20acf.zip |
Scroll to bottom on character received
Diffstat (limited to 'src/event.rs')
-rw-r--r-- | src/event.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/event.rs b/src/event.rs index d0d9a8da..0c8a26f4 100644 --- a/src/event.rs +++ b/src/event.rs @@ -59,6 +59,10 @@ impl<'a, N: Notify + 'a> input::ActionContext for ActionContext<'a, N> { self.terminal.scroll_display(count); } + fn reset_scroll(&mut self) { + self.terminal.reset_scroll(); + } + fn copy_selection(&self, buffer: ::copypasta::Buffer) { if let Some(ref selection) = *self.selection { selection.to_span(self.terminal) |