def print_warning(self, text): """ Print multi-line text in bold font """ for line in text.split("\n"): self.stdscr.addstr(self.row, 0, line, curses.A_STANDOUT) self.nextrow()