menu.py 文件源码

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

项目:ssha 作者: claranet 项目源码 文件源码
def addstr(self, y, x, string, attr):
        try:
            self.window.addstr(y, x, string, attr)
        except curses.error:
            # Curses will error on the last line even when it works.
            # https://stackoverflow.com/questions/7063128/last-character-of-a-window-in-python-curses
            if y == self.max_y - 1:
                pass
            else:
                raise
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号