Do not infer WheelDown on non-legacy ncurses backends

This commit is contained in:
Alexandre Bury 2018-11-05 15:19:00 -08:00
parent e111f982b9
commit 02c2680eaa

View File

@ -134,8 +134,7 @@ impl InputParser {
{ {
Some(MouseEvent::WheelDown) Some(MouseEvent::WheelDown)
} else { } else {
// None None
Some(MouseEvent::WheelDown)
} }
}) })
.map(&make_event) .map(&make_event)