crossterm: fix scroll up event conversion (#417)

This commit is contained in:
Eric Izoita 2020-01-02 20:41:19 -06:00 committed by Alexandre Bury
parent 54de6ca6c0
commit f1fe477e6d

View File

@ -275,7 +275,7 @@ impl Backend {
position = (x, y).into();
}
CMouseEvent::ScrollUp(x, y, _) => {
event = MouseEvent::WheelDown;
event = MouseEvent::WheelUp;
position = (x, y).into();
}
};