From edd5dc7da5047767562f320cabe1b1a56524880e Mon Sep 17 00:00:00 2001 From: Joe Wilm Date: Mon, 2 Jan 2017 20:25:28 -0800 Subject: Fix scrolling with SGR mode Resolves #43. --- src/input.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/input.rs') diff --git a/src/input.rs b/src/input.rs index 61805071..3b23c0c7 100644 --- a/src/input.rs +++ b/src/input.rs @@ -294,7 +294,7 @@ impl<'a, N: Notify + 'a> Processor<'a, N> { }; for _ in 0..(lines.abs() as usize) { - self.mouse_report(code); + self.normal_mouse_report(code); } }, MouseScrollDelta::PixelDelta(_x, y) => { @@ -316,7 +316,7 @@ impl<'a, N: Notify + 'a> Processor<'a, N> { 65 }; - self.mouse_report(button); + self.normal_mouse_report(button); } }, _ => (), -- cgit v1.2.3-54-g00ecf