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()
评论列表
文章目录