docs: def run(self, stdscr):
          """ Initialize curses and refresh in a loop """
          self.win = stdscr
          curses.curs_set(0)
          stdscr.timeout(0)
          curses.init_pair(1, curses.COLOR_CYAN, curses.COLOR_BLACK)
          curses.init_pair(2, curses.COLOR_GREEN, curses.COLOR_BLACK)
          curses.init_pair(3, curses.COLOR_YELLOW, curses.COLOR_BLACK)
          curses.init_pair(4, curses.COLOR_RED, curses.COLOR_BLACK)
          while True:
              self.refresh(True)
              now = time.time()
              while time.time() - now < self._refresh_rate:
                  time.sleep(0.1)
                  self.refresh(False)