aboutsummaryrefslogtreecommitdiff
path: root/src/input.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/input.rs')
-rw-r--r--src/input.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/input.rs b/src/input.rs
index 047c81aa..90384198 100644
--- a/src/input.rs
+++ b/src/input.rs
@@ -664,6 +664,7 @@ mod tests {
use config::{self, Config, ClickHandler};
use index::{Point, Side};
use selection::Selection;
+ use grid::Scroll;
use super::{Action, Binding, Processor};
@@ -717,6 +718,10 @@ mod tests {
self.last_action = MultiClick::TripleClick;
}
+ fn scroll(&mut self, scroll: Scroll) {
+ self.terminal.scroll_display(scroll);
+ }
+
fn mouse_coords(&self) -> Option<Point> {
self.terminal.pixels_to_coords(self.mouse.x as usize, self.mouse.y as usize)
}