gui.py 文件源码

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

项目:sandsifter 作者: xoreaxeaxeax 项目源码 文件源码
def start(self, no_delay):
        self.window = curses.initscr()
        curses.start_color()
        curses.use_default_colors()
        curses.noecho()
        curses.cbreak()
        curses.curs_set(0)
        self.window.nodelay(no_delay)
        self.init_colors()
        self.window.bkgd(curses.color_pair(self.WHITE))
        locale.setlocale(locale.LC_ALL, '')    # set your locale
        self.code = locale.getpreferredencoding()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号