Ian Ward wrote: > Jan-Philip Gehrcke wrote: >> >> I'm interested in the reasons for this phenomenon! And I think that >> official and always-working mousewheel support would be great in >> general! > > If you add "handle_mouse = False," to the MainLoop constructor this > example also scrolls. Likely because your terminal is helpfully > converting mouse wheel events to key-presses when the application has > not asked for mouse events to be sent to it.
Actually, it seems like gnome-terminal (at least) will send a number of 'up' or 'down' escape sequences proportional to the vertical size of the terminal. Pretty neat. You can add "handle_mouse = False" to the MainLoop creation in input_test.py and try it for yourself. Ian _______________________________________________ Urwid mailing list [email protected] http://lists.excess.org/mailman/listinfo/urwid
