Hi all, I've finally finished up some changes to MainLoop and the *EventLoop classes that should solve a common question/complaint, and deal with some potential performance issues.
I've added an enter_idle() method to all the event loops. This method may be used to register a callback that will be triggered after all the other work (handling input and timer events) is done and just before the event loop goes idle. And it's now used by MainLoop for redrawing the screen. This means you shouldn't have to call loop.draw_screen() yourself any more (or remember the strange rules about when you're supposed to call it) screen updates will just happen*. Please, grab a copy to try and let me know what I've broken. Ian * offer not valid if you're bypassing your EventLoop object and adding your own events to your glib event loop/twisted reactor directly. _______________________________________________ Urwid mailing list [email protected] http://lists.excess.org/mailman/listinfo/urwid
