1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-11 13:51:01 -05:00

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

View file

@ -294,7 +294,7 @@ impl<'a, N: Notify + 'a> Processor<'a, N> {
}; };
for _ in 0..(lines.abs() as usize) { for _ in 0..(lines.abs() as usize) {
self.mouse_report(code); self.normal_mouse_report(code);
} }
}, },
MouseScrollDelta::PixelDelta(_x, y) => { MouseScrollDelta::PixelDelta(_x, y) => {
@ -316,7 +316,7 @@ impl<'a, N: Notify + 'a> Processor<'a, N> {
65 65
}; };
self.mouse_report(button); self.normal_mouse_report(button);
} }
}, },
_ => (), _ => (),