gui.py 文件源码

python
阅读 22 收藏 0 点赞 0 评论 0

项目:pycreate2 作者: MomsFriendlyRobotCompany 项目源码 文件源码
def __init__(self):
        # print('start')
        locale.setlocale(locale.LC_ALL, '')
        self.screen = curses.initscr()  # Initialize curses.
        curses.noecho()
        curses.cbreak()  # don't need to hit enter
        curses.curs_set(0)  # disable mouse cursor
        self.screen.nodelay(True)  # non-blocking on getch - not sure this works
        # pass

        self.windows = {}
        self.windows['commands'] = CommandWindow(4, 1)
        self.windows['light'] = LightBumperWindow(11, 1)

        self.dummy = -100.0
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号