diff options
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) |