Hi All,
I have an urwid application developed with different views. Main view have a user menu which shows choices a user can choose from, all the menu choices are bind with some key. Upon a valid keypress it will start the action bind with that key. The problem is that, keys are working with main view but when the view changes no key work. #mainloop call self.loop = urwid.MainLoop(self.main_view, palette, unhandled_input=self.OnKey) #this is how i change view self.loop.widget = self.run_view self.loop.draw_screen() How to handle the keypresses when view changes? Regards,
_______________________________________________ Urwid mailing list [email protected] http://lists.excess.org/mailman/listinfo/urwid
