parameters: (self, command)
docstring: Navigate in screen output history.
  
      Args:
        command: (`str`) the navigation command, from
          {self._NAVIGATION_FORWARD_COMMAND, self._NAVIGATION_BACK_COMMAND}.
docstring_summary: Navigate in screen output history.
docstring_tokens: Navigate in screen output history .
function: def _navigate_screen_output(self, command):
      """Navigate in screen output history.
  
      Args:
        command: (`str`) the navigation command, from
          {self._NAVIGATION_FORWARD_COMMAND, self._NAVIGATION_BACK_COMMAND}.
      """
      if command == self._NAVIGATION_FORWARD_COMMAND:
        if self._nav_history.can_go_forward():
          item = self._nav_history.go_forward()
          scroll_position = item.scroll_position
        else:
          self._toast("At the LATEST in navigation history!",
                      color=self._NAVIGATION_WARNING_COLOR_PAIR)
          return
      else:
        if self._nav_history.can_go_back():
          item = self._nav_history.go_back()
          scroll_position = item.scroll_position
        else:
          self._toast("At the OLDEST in navigation history!",
                      color=self._NAVIGATION_WARNING_COLOR_PAIR)
          return
  
      self._display_output(item.screen_output)
      if scroll_position != 0:
        self._scroll_output(_SCROLL_TO_LINE_INDEX, line_index=scroll_position)
function_tokens: def _navigate_screen_output ( self , command ) : if command == self . _NAVIGATION_FORWARD_COMMAND : if self . _nav_history . can_go_forward ( ) : item = self . _nav_history . go_forward ( ) scroll_position = item . scroll_position else : self . _toast ( "At the LATEST in navigation history!" , color = self . _NAVIGATION_WARNING_COLOR_PAIR ) return else : if self . _nav_history . can_go_back ( ) : item = self . _nav_history . go_back ( ) scroll_position = item . scroll_position else : self . _toast ( "At the OLDEST in navigation history!" , color = self . _NAVIGATION_WARNING_COLOR_PAIR ) return self . _display_output ( item . screen_output ) if scroll_position != 0 : self . _scroll_output ( _SCROLL_TO_LINE_INDEX , line_index = scroll_position )