code: def draw(self):
          
          n_rows, n_cols = self.term.stdscr.getmaxyx()
          if n_rows < self.term.MIN_HEIGHT or n_cols < self.term.MIN_WIDTH:
              # TODO: Will crash when you try to navigate if the terminal is too
              # small at startup because self._subwindows will never be populated
              return
  
          self._row = 0
          self._draw_header()
          self._draw_banner()
          self._draw_content()
          self._draw_footer()
          self.term.clear_screen()
          self.term.stdscr.refresh()
docs: Clear the terminal screen and redraw all of the sub-windows