'Go forward in the history.'

def history_next(self):

    if (not self._history.is_browsing()):
        return
    try:
        item = self._history.nextitem()
    except cmdhistory.HistoryEndReachedError:
        return
    self.setText(item)
