示例#1
0
文件: app.py 项目: socek/bluebaker
 def run(self):
     try:
         self.createTopWindow()
         spawn(self.mainloop).join()
     except KeyboardInterrupt:
         info('\r', end='')  # clearing CTRL+R character
     finally:
         info(' === Program ended ===')
示例#2
0
文件: cmd.py 项目: socek/bluebaker
 def print_info(self):
     self.print_("Press CTRL+C to quit.")
     info(' === Program start ===')