def __init__(self, title, w, h, y, x): self.win = curses.newwin(h, w, y, x) self.win.border(0) self.win.addstr(0, 1, title)