WsjtxCurses.py 文件源码

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

项目:py_wsjtx 作者: teabreakninja 项目源码 文件源码
def add_cq(self, the_text, colour, loc, country, info):
        self.main_win.addstr("CQ CALLED BY ")
        self.main_win.addstr("{}".format(the_text), curses.color_pair(colour)|curses.A_BOLD)
        self.main_win.addstr(" [{}] {}\n".format(loc, country))
        self.main_win.addstr("  [Call:{}, & Band:{}, Country:{}, & Band:{}]\n".format(
            self.convert(info["call"]),
            self.convert(info["call_band"]),
            self.convert(info["country"]),
            self.convert(info["country_band"])
        ))
        self.main_win.refresh()
        self.stdscr.refresh()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号