def main(self, stdscr):
    'Run the interface.\n\n        Should typically be called using `curses.wrapper`.\n\n        Parameters\n        ----------\n        stdscr : curses.Window object\n            The curses screen which the user interacts with.\n        '
    self.stdscr = stdscr
    curses.use_default_colors()
    curses.init_pair(1, curses.COLOR_WHITE, curses.COLOR_BLACK)
    curses.init_pair(2, curses.COLOR_BLACK, curses.COLOR_YELLOW)
    curses.init_pair(3, curses.COLOR_BLACK, curses.COLOR_GREEN)
    curses.init_pair(4, curses.COLOR_BLACK, curses.COLOR_RED)
    (height, width) = stdscr.getmaxyx()
    self.results_window = curses.newwin((height - 12), width, 12, 0)
    x0 = ((width // 2) - 3)
    y0 = 5
    self.print_title()
    self.enter_letters(x0=x0, y0=y0)
    self.print_results()
    self.set_cursor_visibility(False)
    self.get_key()
Run the interface.

Should typically be called using `curses.wrapper`.

Parameters
----------
stdscr : curses.Window object
    The curses screen which the user interacts with.
def main(self, stdscr):
    'Run the interface.\n\n        Should typically be called using `curses.wrapper`.\n\n        Parameters\n        ----------\n        stdscr : curses.Window object\n            The curses screen which the user interacts with.\n        '
    self.stdscr = stdscr
    curses.use_default_colors()
    curses.init_pair(1, curses.COLOR_WHITE, curses.COLOR_BLACK)
    curses.init_pair(2, curses.COLOR_BLACK, curses.COLOR_YELLOW)
    curses.init_pair(3, curses.COLOR_BLACK, curses.COLOR_GREEN)
    curses.init_pair(4, curses.COLOR_BLACK, curses.COLOR_RED)
    (height, width) = stdscr.getmaxyx()
    self.results_window = curses.newwin((height - 12), width, 12, 0)
    x0 = ((width // 2) - 3)
    y0 = 5
    self.print_title()
    self.enter_letters(x0=x0, y0=y0)
    self.print_results()
    self.set_cursor_visibility(False)
    self.get_key()