Fix scrolling with SGR mode

Resolves #43.
This commit is contained in:
Joe Wilm 2017-01-02 20:25:28 -08:00
parent 06991e6eee
commit edd5dc7da5
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
},
_ => (),