docs: def refresh_win(self, resizing=False):
          """ set_encoding is False when resizing """
          #self.init_window(set_encoding)
          self._win.bkgdset(' ', curses.color_pair(3))
          self._win.erase()
          self._win.box()
          self._win.addstr(0,
              int((self.maxX - len(self._title)) / 2),
              self._title,
              curses.color_pair(4))
          self.refresh_selection(resizing)