gui.py 文件源码

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

项目:sandsifter 作者: xoreaxeaxeax 项目源码 文件源码
def gray(self, scale):
        if curses.can_change_color():
            return curses.color_pair(self.GRAY_BASE + int(round(scale * (self.GRAYS - 1))))
        else:
            return curses.color_pair(self.WHITE)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号