def run(self):
self.main_loop = urwid.MainLoop(self.w_main, palette=self.palette,
unhandled_input=self.unhandled_keypress)
self.child_pipe = self.main_loop.watch_pipe(self.received_output)
self.init_test_data()
logger.debug('Running main urwid loop')
self.main_loop.run()
评论列表
文章目录