aboutsummaryrefslogtreecommitdiff
path: root/src/event.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/event.rs')
-rw-r--r--src/event.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/event.rs b/src/event.rs
index 8c4107ca..d0d9a8da 100644
--- a/src/event.rs
+++ b/src/event.rs
@@ -55,6 +55,10 @@ impl<'a, N: Notify + 'a> input::ActionContext for ActionContext<'a, N> {
*self.size_info
}
+ fn scroll(&mut self, count: isize) {
+ self.terminal.scroll_display(count);
+ }
+
fn copy_selection(&self, buffer: ::copypasta::Buffer) {
if let Some(ref selection) = *self.selection {
selection.to_span(self.terminal)