aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2017-01-02 20:25:28 -0800
committerJoe Wilm <joe@jwilm.com>2017-01-02 20:25:28 -0800
commitedd5dc7da5047767562f320cabe1b1a56524880e (patch)
tree1c8c71421696b95aad89267873fe4d2eba2e79be
parent06991e6eee4c80f99c069ff1b928bcb2111b1c3d (diff)
downloadalacritty-edd5dc7da5047767562f320cabe1b1a56524880e.tar.gz
alacritty-edd5dc7da5047767562f320cabe1b1a56524880e.zip
Fix scrolling with SGR mode
Resolves #43.
-rw-r--r--src/input.rs4
1 files changed, 2 insertions, 2 deletions
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);
}
},
_ => (),